From 42fdb682b161dbfcde0fa0b39757cc360c4ac2c3 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Fri, 23 Dec 2016 14:42:33 -0600 Subject: [PATCH] Fix cibuild to work with new build setup. --- scripts/cibuild | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/scripts/cibuild b/scripts/cibuild index 87ccd5c31..086c1f55f 100755 --- a/scripts/cibuild +++ b/scripts/cibuild @@ -2,9 +2,12 @@ set -e -./scripts/setup_build -./scripts/setup_build_debug -make -j -C build/release all -make -j -C build/release test -make -j -C build/debug all -make -j -C build/debug test +OS=$(uname | tr [:upper:] [:lower:]) +TARGET=$OS-$(uname -m) + +./scripts/setup_build $TARGET +./scripts/setup_build $TARGET debug +make -j -C build/${TARGET}-release all +make -j -C build/${TARGET}-release test +make -j -C build/${TARGET}-debug all +make -j -C build/${TARGET}-debug test