Skip to content

Commit 57f6a3d

Browse files
Fix handling of gcc compiler default case (#317)
1 parent 42d15ba commit 57f6a3d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/sanity-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ jobs:
297297
- musllinux-1-1-x64
298298

299299
needs: package
300-
runs-on: ubuntu-24.04
300+
runs-on: ubuntu-22.04 # temporarily downgrade to old ubuntu as 24.04 likes to segfault in the middle of the build
301301
steps:
302302
- uses: aws-actions/configure-aws-credentials@v4
303303
with:

builder/core/data.py

+6
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,12 @@ class PKG_TOOLS(Enum):
572572
'yum_compiler_packages': ['gcc', 'gcc-c++'],
573573

574574
'versions': {
575+
'default': {
576+
'!c': "gcc",
577+
'!cxx': "g++",
578+
'!compiler_packages': [],
579+
'!apt_compiler_packages': [],
580+
},
575581
'4.8': {
576582
# ASan has been broken on 4.8 GCC version distributed on Ubuntu
577583
# and will unlikely to get fixed upstream. so turn it off.

0 commit comments

Comments
 (0)