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

[REVIEW] Use cmake --build in build.sh to facilitate switching build tools #3487

Merged
merged 3 commits into from
Feb 11, 2021

Conversation

wphicks
Copy link
Contributor

@wphicks wphicks commented Feb 11, 2021

Use cmake --build in build.sh rather than invoking make directly. This should not affect existing usage at all but will allow developers to build with e.g. Ninja simply by setting CUML_EXTRA_CMAKE_ARGS='-GNinja' when building.

Use cmake --build rather than directly invoking make to better support
optional use of other build tools
@wphicks wphicks added feature request New feature or request 2 - In Progress Currenty a work in progress non-breaking Non-breaking change labels Feb 11, 2021
@wphicks wphicks requested a review from a team as a code owner February 11, 2021 18:01
@wphicks wphicks added this to PR-WIP in v0.19 Release via automation Feb 11, 2021
Copy link
Member

@dantegd dantegd left a comment

Choose a reason for hiding this comment

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

Changes look good, just had a question/request

cd ${LIBCUML_BUILD_DIR}
make -j${PARALLEL_LEVEL} ${MAKE_TARGETS} VERBOSE=${VERBOSE} ${INSTALL_TARGET}
build_args="--target ${MAKE_TARGETS} ${INSTALL_TARGET}"
Copy link
Member

Choose a reason for hiding this comment

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

I can't remember what is the source of ${INSTALL_TARGET} but isn't it just the word install? What do you think of removing it and just using build_args="--target ${MAKE_TARGETS} install" which is a bit easier to follow

Copy link
Contributor Author

Choose a reason for hiding this comment

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

At line 127, we can potentially suppress installation with the -n flag by setting INSTALL_TARGET="", so I think we still need it, unfortunately.

v0.19 Release automation moved this from PR-WIP to PR-Reviewer approved Feb 11, 2021
@wphicks wphicks added the 4 - Waiting on Reviewer Waiting for reviewer to review or respond label Feb 11, 2021
@wphicks wphicks changed the title Use cmake --build in build.sh to facilitate switching build tools [REVIEW] Use cmake --build in build.sh to facilitate switching build tools Feb 11, 2021
@wphicks wphicks added 5 - Ready to Merge Testing and reviews complete, ready to merge and removed 2 - In Progress Currenty a work in progress 4 - Waiting on Reviewer Waiting for reviewer to review or respond labels Feb 11, 2021
@dantegd
Copy link
Member

dantegd commented Feb 11, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 001b9ed into rapidsai:branch-0.19 Feb 11, 2021
v0.19 Release automation moved this from PR-Reviewer approved to Done Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Ready to Merge Testing and reviews complete, ready to merge feature request New feature or request non-breaking Non-breaking change
Projects
No open projects
v0.19 Release
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants