зеркало из https://github.com/github/ruby.git
.github/workflows/compilers.yml: disable shared for LTO
LTO is about static links. Makes no sense to have DLLs.
This commit is contained in:
Родитель
0de84bb763
Коммит
cb4e2cb55a
|
@ -20,7 +20,6 @@ env:
|
|||
debugflags: '-ggdb3'
|
||||
|
||||
default_configure: >-
|
||||
--enable-shared
|
||||
--enable-debug-env
|
||||
--disable-install-doc
|
||||
--with-ext=-test-/cxxanyargs,+
|
||||
|
@ -60,6 +59,7 @@ jobs:
|
|||
name: 'gcc-11 LTO'
|
||||
value: 'gcc-11 -O2 -flto=auto -ffat-lto-objects'
|
||||
container: gcc-11
|
||||
shared: '--disable-shared'
|
||||
# check: true
|
||||
- { key: default_cc, name: clang-14, value: clang-14, container: clang-14 }
|
||||
- { key: default_cc, name: clang-13, value: clang-13, container: clang-13 }
|
||||
|
@ -77,6 +77,7 @@ jobs:
|
|||
name: 'clang-14 LTO'
|
||||
value: 'clang-14 -O2 -flto=auto'
|
||||
container: clang-14
|
||||
shared: '--disable-shared'
|
||||
# check: true
|
||||
|
||||
- { key: crosshost, name: aarch64-linux-gnu, value: aarch64-linux-gnu, container: crossbuild-essential-arm64 }
|
||||
|
@ -190,6 +191,7 @@ jobs:
|
|||
run: >
|
||||
../src/configure -C ${default_configure} ${append_configure}
|
||||
${{ matrix.entry.key == 'crosshost' && '--host="${crosshost}"' || '--with-gcc="${default_cc} ${append_cc}"' }}
|
||||
${{ matrix.entry.shared || '--enable-shared' }}
|
||||
- run: $make extract-extlibs
|
||||
- run: $make incs
|
||||
- run: $make
|
||||
|
|
Загрузка…
Ссылка в новой задаче