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

add bash variable guards in CI install scripts #2315

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

SimeonEhrig
Copy link
Member

@SimeonEhrig SimeonEhrig commented Jul 16, 2024

Refactor bash CI scripts and add guards to guaranty, that every configuration environment variable is used in the cmake configuration.

The PR is motivated by PR #2308, where the alpaka_CXX_STANDARD environment variable was not set in the cmake configuration string.

Additional changes:

  • Set empty default variables if CUDA, HIP or SYCL backend is not enabled to avoid unbound variables.
  • Set CMake default configuration variables to avoid unbound variables.
  • Set alpaka_DEBUG to 0 if not set. In an upcoming PR, the job generator should set more jobs to alpaka_DEBUG=2.
  • Remove quotes for many CMake configuration arguments, to make CMake output more readable. If argument values contains white spaces, quotes are not avoidable.

@mehmetyusufoglu
Copy link
Contributor

_ No description provided. _

Could you please add at least a line of explanation if you don't mind.

- Set empty default variables if CUDA, HIP or SYCL backend is not enabled to avoid unbound variables.
- Set CMake default configuration variables to avoid unbound variables.
- Set alpaka_DEBUG to 0 if not set. In an upcoming PR, the job generator should set more jobs to `alpaka_DEBUG=2`.
- Remove quotes for many CMake configuration arguments, to make CMake output more readable. If argument values contains white spaces, quotes are not avoidable.
@SimeonEhrig SimeonEhrig marked this pull request as ready for review January 13, 2025 12:52
@psychocoderHPC psychocoderHPC merged commit bb5c75d into alpaka-group:develop Jan 13, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants