Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove detailed compiler check #613

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

imwints
Copy link
Contributor

@imwints imwints commented Sep 13, 2023

Currently g is forced to be the latest intalled version

Since we give an error if the version of the compiler is not sufficient, we can remove this check/overwrite

It's now possible to specify an older version (on purpose) and new compiler version don't need to be added manually

Closes: #566

@imwints imwints force-pushed the remove-compiler-check branch 2 times, most recently from 5bd8823 to a027405 Compare September 13, 2023 21:17
Copy link
Owner

@aristocratos aristocratos left a comment

Choose a reason for hiding this comment

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

I believe I mentioned I was planning to do this (but forgot), so good initiative 👌

.github/workflows/continuous-build-freebsd.yml Outdated Show resolved Hide resolved
@imwints imwints marked this pull request as draft October 8, 2023 14:58
@imwints imwints force-pushed the remove-compiler-check branch 2 times, most recently from b93ab85 to c2bf16a Compare October 8, 2023 16:35
@imwints imwints marked this pull request as ready for review October 8, 2023 16:40
Currently the Makefile tries to pick the latest version of g   and
overrides CXX when found.

Since we give an error if the version of the compiler is not sufficient,
we can remove this check.

It's now possible to specify an older version (on purpose) and new
compiler version don't need to be added manually.
@aristocratos aristocratos merged commit cabd91b into aristocratos:main Jan 3, 2024
48 checks passed
@aristocratos
Copy link
Owner

@kz6fittycent
The build for the workflow test-snap-can-build.yml fails after this was merged.
I'm guessing the compiler needs to be specified in the build script, I can't however see the actual build command in the workflow, so not sure how to fix it.

@imwints imwints deleted the remove-compiler-check branch January 3, 2024 14:59
@aristocratos
Copy link
Owner

@kz6fittycent
Added CXX=g -11 to the make flags in https://github.com/aristocratos/btop/blob/main/snap/snapcraft.yaml
And it's working again.

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.

[REQUEST] Remove compiler version selection in the Makefile
2 participants