diff options
Diffstat (limited to 'build-gluster-org/scripts/fedora-smoke.sh')
-rw-r--r-- | build-gluster-org/scripts/fedora-smoke.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/build-gluster-org/scripts/fedora-smoke.sh b/build-gluster-org/scripts/fedora-smoke.sh new file mode 100644 index 0000000..2c18ef8 --- /dev/null +++ b/build-gluster-org/scripts/fedora-smoke.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +set -e + +SRC=$(pwd); +nproc=$(getconf _NPROCESSORS_ONLN) + +./autogen.sh; +P=/build; +rm -rf $P/scratch; +mkdir -p $P/scratch; +cd $P/scratch; +rm -rf $P/install; +$SRC/configure --prefix=$P/install --with-mountutildir=$P/install/sbin \ + --with-initdir=$P/install/etc --localstatedir=/var \ + --enable-bd-xlator=yes --enable-debug --enable-gnfs --silent +make CFLAGS="-Wall -Werror -Wno-cpp" -j ${nproc}; |