.github/workflows/compilers.yml: disable shared for LTO

LTO is about static links.  Makes no sense to have DLLs.
This commit is contained in:
卜部昌平 2021-09-09 22:19:07 +09:00
parent 0de84bb763
commit cb4e2cb55a
Notes: git 2021-09-10 20:00:58 +09:00
1 changed files with 3 additions and 1 deletions

View File

@ -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