-
Notifications
You must be signed in to change notification settings - Fork 167
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
Enable additional arguments in build_common.sh #236
Conversation
I have tested the extra options locally. The CCCL project is able to configure and build with a custom path to NVCC. |
echo "The PARALLEL_LEVEL environment variable controls the amount of build parallelism. Default is the number of cores." | ||
echo "Example: PARALLEL_LEVEL=8 $0 g++-8 14 \"70\" " | ||
echo "Example: $0 clang++-8 17 \"70;75;80-virtual\" " | ||
echo "Possible options: " | ||
echo " -nvcc: path/to/nvcc" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about making this option more general and calling it --cuda_compiler
to enable us to later set up clang-cuda builds?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about making this option more general and calling it
--cuda_compiler
to enable us to later set up clang-cuda builds?
I didn't do that only because there was some existing NVCC logic that comes later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I guess we'll just cross that bridge when we get there.
fi | ||
|
||
# Begin processing unsets after option parsing | ||
set -u |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I see.
Description
closes #171
Allows passing options into build_[test].sh scripts.
Might be a little hacky.
Checklist