Skip to content

[ci] add gcc14 make on linux#823

Merged
yuxiaomao merged 2 commits intoHaxeFoundation:masterfrom
yuxiaomao:dev-ci-gcc
Sep 5, 2025
Merged

[ci] add gcc14 make on linux#823
yuxiaomao merged 2 commits intoHaxeFoundation:masterfrom
yuxiaomao:dev-ci-gcc

Conversation

@yuxiaomao
Copy link
Collaborator

sudo apt install -y gcc-14 g++-14
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 60 --slave /usr/bin/g++ g++ /usr/bin/g++-14
gcc --version
export CC=gcc
Copy link
Member

@tobil4sk tobil4sk Sep 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this line has the intended effect (it does not persist between shells), but maybe it's not necessary if the new version is already added to path?

target: [linux, darwin, windows]
architecture: [32, 64, arm64]
build_system: [make, cmake, vs2019]
build_system: [make, cmake, vs2019, makegcc]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gcc should already be used on linux by default with make, so maybe we should call this new config something a bit more descriptive.

@yuxiaomao
Copy link
Collaborator Author

Indeed it works without export CC, as show in my run https://github.com/yuxiaomao/hashlink/actions/runs/17455087109/job/49566955510

@yuxiaomao yuxiaomao merged commit d31d191 into HaxeFoundation:master Sep 5, 2025
12 checks passed
@yuxiaomao yuxiaomao deleted the dev-ci-gcc branch September 5, 2025 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants