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

fail build if toolchain not available #69

Open
pwj58 opened this issue Dec 3, 2021 · 0 comments
Open

fail build if toolchain not available #69

pwj58 opened this issue Dec 3, 2021 · 0 comments

Comments

@pwj58
Copy link

pwj58 commented Dec 3, 2021

When specifying a toolchain via --toolchains fail the build if the requested toolchain is not available.

Eg. Attempting to use gcc14, logs warning and error but then continues to build with the system default.

cuppa --toolchains=gcc14 --dbg --force-test --parallel --offline --develop
scons: Reading SConscript files ...
cuppa: configure: [info] No settings to load, skipping configure
cuppa: version: [info] cuppa: version 0.9.78
cuppa: construct: [info] Running in OFFLINE mode
cuppa: construct: [info] using sconstruct file [sconstruct]
cuppa: construct: [info] available toolchains are ['gcc92', 'gcc111', 'gcc103', 'gcc10', 'gcc']
cuppa: construct: [warn] Requested toolchain [gcc14] does not match any supported, skipping
cuppa: construct: [error] None of the requested toolchains are available

Eg. gcc7 is supported by cuppa but not installed, again builds with system default.

cuppa --toolchains=gcc7 --dbg --force-test --parallel --offline --develop
scons: Reading SConscript files ...
cuppa: configure: [info] No settings to load, skipping configure
cuppa: version: [info] cuppa: version 0.9.78
cuppa: construct: [info] Running in OFFLINE mode
cuppa: construct: [info] using sconstruct file [sconstruct]
cuppa: construct: [info] available toolchains are ['gcc92', 'gcc111', 'gcc103', 'gcc10', 'gcc']
cuppa: construct: [warn] Requested toolchain [gcc7] does not match any available, skipping
cuppa: construct: [error] None of the requested toolchains are available

cuppa: construct: [info] default profiles are ['']

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

No branches or pull requests

1 participant