summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/scripts/fedora-smoke.sh
blob: b24b93975c4114a8c342c889c149431977af325b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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-debug --enable-gnfs --silent
make CFLAGS="-Wall -Werror -Wno-cpp" -j ${nproc};