You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kudu.apache.org by "Todd Lipcon (Code Review)" <ge...@ip-10-146-233-104.ec2.internal> on 2016/01/29 23:09:06 UTC

[kudu-CR] cmake: ensure build/latest/ is re-symlinked on every binary build

Hello Adar Dembo,

I'd like you to do a code review.  Please visit

    http://gerrit.cloudera.org:8080/1962

to review the following change.

Change subject: cmake: ensure build/latest/ is re-symlinked on every binary build
......................................................................

cmake: ensure build/latest/ is re-symlinked on every binary build

My typical workflow is to just build and run individual tests, rather
than building the entire project. This adds some cmake hackery so that
when any executable is built, it will ensure that the build/latest/
symlink is recreated, making it more likely that I can run the resulting
test using build/latest/bin/foo-test.

This also disallows running cmake from inside symlinked build/latest.
If you try to run cmake here, it ends up getting into a very confused
state, where builds fail with hard to decipher messages. It's easier
to just disallow it.

Change-Id: I33fd15c5651a080ae1f320568cb1a60c2f019512
---
M CMakeLists.txt
1 file changed, 13 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/62/1962/1
-- 
To view, visit http://gerrit.cloudera.org:8080/1962
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I33fd15c5651a080ae1f320568cb1a60c2f019512
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <to...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>