Skip to content
Snippets Groups Projects
Commit 28ab6aa2 authored by Jonas Toth's avatar Jonas Toth Committed by Michael Aaron Murphy
Browse files

build: adjust Makefile and test/run_examples.sh slightly to work with gentoo-like build environemnt

parent 0425080f
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ vendor: $(VENDOR)
version: $(GIT_REVISION)
$(GIT_REVISION):
git rev-parse master > git_revision.txt
git rev-parse HEAD > git_revision.txt
$(VENDOR):
rm -rf .cargo vendor vendor.tar.xz
......
......@@ -55,7 +55,11 @@ export EXAMPLES_DIR
CPU_CORES=$(nproc --all)
# Build debug binary
cargo +$TOOLCHAIN build
if [ $RUSTUP -eq 1 ]; then
cargo +$TOOLCHAIN build
else
cargo build
fi
test_generic
test_params
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment