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

build: do_cmake: allow ARGS to be overridden #19876

Merged
merged 2 commits into from Jan 17, 2018

Conversation

theanalyst
Copy link
Member

so that one can do stuff like
ARGS="-DCMAKE_C_COMPILER=gcc-7 -D.." ./do_cmake.sh

Signed-off-by: Abhishek Lekshmanan abhishek@suse.com

do_cmake.sh Outdated
@@ -5,7 +5,7 @@ if test -e build; then
exit 1
fi

ARGS=""
ARGS="${ARGS:-}"
Copy link
Contributor

@tchaikov tchaikov Jan 10, 2018

Choose a reason for hiding this comment

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

how about just removing this line? but i am fine if we want to make the default value more explicit.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll remove the line, that is cleaner;

so that one can do stuff like
ARGS="-DCMAKE_C_COMPILER=gcc-7 -D.." ./do_cmake.sh

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Add an example on how to use ARGS to override cmake builds

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
@theanalyst
Copy link
Member Author

@tchaikov updated and added a small note

@tchaikov tchaikov merged commit 67e5a2f into ceph:master Jan 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants