summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2021-09-09 22:19:07 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2021-09-10 20:00:06 +0900
commitcb4e2cb55a59833fc4f1f6db2f3082d1ffcafc80 (patch)
tree7558b21618649630fcc6e1ec57ff7e93371b5c87 /.github
parent0de84bb763dab21daa39e73d0b4d62c8aa503d3e (diff)
.github/workflows/compilers.yml: disable shared for LTO
LTO is about static links. Makes no sense to have DLLs.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4815
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/compilers.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml
index 82dc4df016..2fc387ab9a 100644
--- a/.github/workflows/compilers.yml
+++ b/.github/workflows/compilers.yml
@@ -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