summaryrefslogtreecommitdiffstats
path: root/screwdriver/build-vespa.sh
diff options
context:
space:
mode:
Diffstat (limited to 'screwdriver/build-vespa.sh')
-rwxr-xr-xscrewdriver/build-vespa.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/screwdriver/build-vespa.sh b/screwdriver/build-vespa.sh
index 61e5553cd37..79d695f1533 100755
--- a/screwdriver/build-vespa.sh
+++ b/screwdriver/build-vespa.sh
@@ -21,11 +21,11 @@ if ! source $SOURCE_DIR/screwdriver/detect-what-to-build.sh; then
SHOULD_BUILD=systemtest
fi
-build_cpp(source_dir) {
+build_cpp() {
cat /proc/cpuinfo | grep "model name" | head -1
cat /proc/cpuinfo | grep "flags" | head -1
# TODO This will only build for x86_64 architecture, and is used for pull request builds.
- cmake3 -DVESPA_UNPRIVILEGED=no -DDEFAULT_VESPA_CPU_ARCH_FLAGS="-march=skylake" $source_dir
+ cmake3 -DVESPA_UNPRIVILEGED=no -DDEFAULT_VESPA_CPU_ARCH_FLAGS="-march=skylake" $1
time make -j ${NUM_THREADS}
time ctest3 --output-on-failure -j ${NUM_THREADS}
ccache --show-stats