Test: vagrant configure clixon changes
This commit is contained in:
parent
5e84ad8008
commit
8d3d39319e
1 changed files with 5 additions and 6 deletions
|
|
@ -41,14 +41,13 @@ test -d src/cligen || (cd src;git clone https://github.com/clicon/cligen.git)
|
||||||
cd src/cligen
|
cd src/cligen
|
||||||
git pull origin master
|
git pull origin master
|
||||||
|
|
||||||
|
./configure
|
||||||
|
|
||||||
if [ $release = "freebsd" -o $release = "dragonfly" ]; then
|
if [ $release = "freebsd" -o $release = "dragonfly" ]; then
|
||||||
./configure
|
|
||||||
MAKE=$(which gmake)
|
MAKE=$(which gmake)
|
||||||
elif [ $release = "arch" ]; then
|
elif [ $release = "arch" ]; then
|
||||||
./configure --prefix=/usr
|
|
||||||
MAKE=/usr/bin/make
|
MAKE=/usr/bin/make
|
||||||
else
|
else
|
||||||
./configure --prefix=/usr
|
|
||||||
MAKE=$(which make)
|
MAKE=$(which make)
|
||||||
fi
|
fi
|
||||||
echo "MAKE:$MAKE"
|
echo "MAKE:$MAKE"
|
||||||
|
|
@ -63,10 +62,10 @@ cd src/clixon
|
||||||
git pull origin master
|
git pull origin master
|
||||||
|
|
||||||
if [ $release = "freebsd" -o $release = "dragonfly" ]; then
|
if [ $release = "freebsd" -o $release = "dragonfly" ]; then
|
||||||
LDFLAGS=-L/usr/local/lib ./configure --with-cligen=/ --with-restconf=${with_restconf}
|
LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include" ./configure
|
||||||
else
|
else
|
||||||
# Problems with su not having "sbin" in path on centos when when we run tests later
|
# Problems with su not having "sbin" in path on centos when when we run tests later
|
||||||
./configure --sbindir=/usr/sbin --libdir=/usr/lib --with-restconf=${with_restconf}
|
LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include" ./configure --sbindir=/usr/sbin --libdir=/usr/lib --with-restconf=${with_restconf}
|
||||||
fi
|
fi
|
||||||
$MAKE clean
|
$MAKE clean
|
||||||
$MAKE -j10
|
$MAKE -j10
|
||||||
|
|
@ -80,7 +79,7 @@ cd
|
||||||
test -d src/clixon-util || (cd src;git clone https://github.com/clicon/clixon-util.git)
|
test -d src/clixon-util || (cd src;git clone https://github.com/clicon/clixon-util.git)
|
||||||
cd src/clixon-util
|
cd src/clixon-util
|
||||||
git pull origin main
|
git pull origin main
|
||||||
./configure --with-cligen=/ --with-clixon=/
|
LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include" ./configure
|
||||||
$MAKE clean
|
$MAKE clean
|
||||||
$MAKE -j10
|
$MAKE -j10
|
||||||
sudo $MAKE install
|
sudo $MAKE install
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue