-
Notifications
You must be signed in to change notification settings - Fork 5
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
cmake: Fix "tidy" CI job #205
Conversation
Do not reference the `HOST` variable before defining it.
Fix `contrib/devtools/iwyu/bitcoin.core.imp` file location.
See the recent push to bitcoin#29790 for the CI logs. |
@@ -61,8 +61,6 @@ export CCACHE_COMPRESS=${CCACHE_COMPRESS:-1} | |||
export CCACHE_DIR=${CCACHE_DIR:-$BASE_SCRATCH_DIR/.ccache} | |||
# Folder where the build result is put (bin and lib). | |||
export BASE_OUTDIR=${BASE_OUTDIR:-$BASE_SCRATCH_DIR/out} | |||
# Folder where the build is done (dist and out-of-tree build). | |||
export BASE_BUILD_DIR=${BASE_BUILD_DIR:-$BASE_SCRATCH_DIR/build-$HOST} |
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.
Why isn't this a problem upstream?
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.
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.
HOST
should be set (for cross) when importing the CI config in this line:
echo "Setting specific values in env"
So an alternative would be (in this context) to fall back to build-native
, if the HOST isn't set.
But this is fine, too.
Friendly ping @maflcko :) |
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.
lgtm
@@ -61,8 +61,6 @@ export CCACHE_COMPRESS=${CCACHE_COMPRESS:-1} | |||
export CCACHE_DIR=${CCACHE_DIR:-$BASE_SCRATCH_DIR/.ccache} | |||
# Folder where the build result is put (bin and lib). | |||
export BASE_OUTDIR=${BASE_OUTDIR:-$BASE_SCRATCH_DIR/out} | |||
# Folder where the build is done (dist and out-of-tree build). | |||
export BASE_BUILD_DIR=${BASE_BUILD_DIR:-$BASE_SCRATCH_DIR/build-$HOST} |
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.
HOST
should be set (for cross) when importing the CI config in this line:
echo "Setting specific values in env"
So an alternative would be (in this context) to fall back to build-native
, if the HOST isn't set.
But this is fine, too.
Fixes the first point from bitcoin#29790 (comment):