mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
.github/workflows/compilers.yml: disable shared for LTO
LTO is about static links. Makes no sense to have DLLs.
This commit is contained in:
parent
0de84bb763
commit
cb4e2cb55a
Notes:
git
2021-09-10 20:00:58 +09:00
1 changed files with 3 additions and 1 deletions
4
.github/workflows/compilers.yml
vendored
4
.github/workflows/compilers.yml
vendored
|
@ -20,7 +20,6 @@ env:
|
||||||
debugflags: '-ggdb3'
|
debugflags: '-ggdb3'
|
||||||
|
|
||||||
default_configure: >-
|
default_configure: >-
|
||||||
--enable-shared
|
|
||||||
--enable-debug-env
|
--enable-debug-env
|
||||||
--disable-install-doc
|
--disable-install-doc
|
||||||
--with-ext=-test-/cxxanyargs,+
|
--with-ext=-test-/cxxanyargs,+
|
||||||
|
@ -60,6 +59,7 @@ jobs:
|
||||||
name: 'gcc-11 LTO'
|
name: 'gcc-11 LTO'
|
||||||
value: 'gcc-11 -O2 -flto=auto -ffat-lto-objects'
|
value: 'gcc-11 -O2 -flto=auto -ffat-lto-objects'
|
||||||
container: gcc-11
|
container: gcc-11
|
||||||
|
shared: '--disable-shared'
|
||||||
# check: true
|
# check: true
|
||||||
- { key: default_cc, name: clang-14, value: clang-14, container: clang-14 }
|
- { key: default_cc, name: clang-14, value: clang-14, container: clang-14 }
|
||||||
- { key: default_cc, name: clang-13, value: clang-13, container: clang-13 }
|
- { key: default_cc, name: clang-13, value: clang-13, container: clang-13 }
|
||||||
|
@ -77,6 +77,7 @@ jobs:
|
||||||
name: 'clang-14 LTO'
|
name: 'clang-14 LTO'
|
||||||
value: 'clang-14 -O2 -flto=auto'
|
value: 'clang-14 -O2 -flto=auto'
|
||||||
container: clang-14
|
container: clang-14
|
||||||
|
shared: '--disable-shared'
|
||||||
# check: true
|
# check: true
|
||||||
|
|
||||||
- { key: crosshost, name: aarch64-linux-gnu, value: aarch64-linux-gnu, container: crossbuild-essential-arm64 }
|
- { key: crosshost, name: aarch64-linux-gnu, value: aarch64-linux-gnu, container: crossbuild-essential-arm64 }
|
||||||
|
@ -190,6 +191,7 @@ jobs:
|
||||||
run: >
|
run: >
|
||||||
../src/configure -C ${default_configure} ${append_configure}
|
../src/configure -C ${default_configure} ${append_configure}
|
||||||
${{ matrix.entry.key == 'crosshost' && '--host="${crosshost}"' || '--with-gcc="${default_cc} ${append_cc}"' }}
|
${{ matrix.entry.key == 'crosshost' && '--host="${crosshost}"' || '--with-gcc="${default_cc} ${append_cc}"' }}
|
||||||
|
${{ matrix.entry.shared || '--enable-shared' }}
|
||||||
- run: $make extract-extlibs
|
- run: $make extract-extlibs
|
||||||
- run: $make incs
|
- run: $make incs
|
||||||
- run: $make
|
- run: $make
|
||||||
|
|
Loading…
Add table
Reference in a new issue