@@ -123,7 +123,8 @@ jobs:
123123 uses : ./.github/workflows/build-linux.yml
124124 with :
125125 platform : linux-x64
126- apt-gcc-version : ' 10=10.3.0-1ubuntu1~20.04'
126+ gcc-major-version : ' 10'
127+ apt-gcc-version : ' 10.3.0-1ubuntu1~20.04'
127128 # The linux-x64 jdk bundle is used as buildjdk for the cross-compile job
128129 if : needs.select.outputs.linux-x64 == 'true' || needs.select.outputs.linux-cross-compile == 'true'
129130
@@ -133,7 +134,9 @@ jobs:
133134 uses : ./.github/workflows/build-linux.yml
134135 with :
135136 platform : linux-x86
136- apt-gcc-version : ' 10-multilib'
137+ gcc-major-version : ' 10'
138+ gcc-package-suffix : ' -multilib'
139+ apt-gcc-version : ' 10.3.0-1ubuntu1~20.04'
137140 apt-architecture : ' i386'
138141 # Some multilib libraries do not have proper inter-dependencies, so we have to
139142 # install their dependencies manually.
@@ -149,7 +152,8 @@ jobs:
149152 platform : linux-x64
150153 make-target : ' hotspot'
151154 debug-levels : ' [ "debug" ]'
152- apt-gcc-version : ' 10=10.3.0-1ubuntu1~20.04'
155+ gcc-major-version : ' 10'
156+ apt-gcc-version : ' 10.3.0-1ubuntu1~20.04'
153157 extra-conf-options : ' --disable-precompiled-headers'
154158 if : needs.select.outputs.linux-x64-variants == 'true'
155159
@@ -161,7 +165,8 @@ jobs:
161165 platform : linux-x64
162166 make-target : ' hotspot'
163167 debug-levels : ' [ "debug" ]'
164- apt-gcc-version : ' 10=10.3.0-1ubuntu1~20.04'
168+ gcc-major-version : ' 10'
169+ apt-gcc-version : ' 10.3.0-1ubuntu1~20.04'
165170 extra-conf-options : ' --with-jvm-variants=zero --disable-precompiled-headers'
166171 if : needs.select.outputs.linux-x64-variants == 'true'
167172
@@ -173,7 +178,8 @@ jobs:
173178 platform : linux-x64
174179 make-target : ' hotspot'
175180 debug-levels : ' [ "debug" ]'
176- apt-gcc-version : ' 10=10.3.0-1ubuntu1~20.04'
181+ gcc-major-version : ' 10'
182+ apt-gcc-version : ' 10.3.0-1ubuntu1~20.04'
177183 extra-conf-options : ' --with-jvm-variants=minimal --disable-precompiled-headers'
178184 if : needs.select.outputs.linux-x64-variants == 'true'
179185
@@ -186,7 +192,8 @@ jobs:
186192 make-target : ' hotspot'
187193 # Technically this is not the "debug" level, but we can't inject a new matrix state for just this job
188194 debug-levels : ' [ "debug" ]'
189- apt-gcc-version : ' 10=10.3.0-1ubuntu1~20.04'
195+ gcc-major-version : ' 10'
196+ apt-gcc-version : ' 10.3.0-1ubuntu1~20.04'
190197 extra-conf-options : ' --with-debug-level=optimized --disable-precompiled-headers'
191198 if : needs.select.outputs.linux-x64-variants == 'true'
192199
@@ -196,6 +203,10 @@ jobs:
196203 - select
197204 - build-linux-x64
198205 uses : ./.github/workflows/build-cross-compile.yml
206+ with :
207+ gcc-major-version : ' 10'
208+ apt-gcc-version : ' 10.3.0-1ubuntu1~20.04'
209+ apt-gcc-cross-version : ' 10.3.0-1ubuntu1~20.04cross1'
199210 if : needs.select.outputs.linux-cross-compile == 'true'
200211
201212 build-macos-x64 :
0 commit comments