Remove CMake cache before reconfiguring
By removing the cache file, the packages of the non-core components are generate properly.
This commit is contained in:
parent
fa492764c8
commit
93dafc9031
@ -44,16 +44,17 @@ if [ "$build_experimental" == "yes" ]
|
||||
then
|
||||
for component in experimental devel client
|
||||
do
|
||||
cd _build
|
||||
export LD_LIBRARY_PATH=""
|
||||
cmake .. $cmake_flags -DTARGET_COMPONENT=$component
|
||||
export LD_LIBRARY_PATH=$(for i in `find $PWD/ -name '*.so*'`; do echo $(dirname $i); done|sort|uniq|xargs|sed -e 's/[[:space:]]/:/g')
|
||||
make package
|
||||
cp _CPack_Packages/Linux/DEB/*.deb ../
|
||||
cd _build
|
||||
rm CMakeCache.txt
|
||||
export LD_LIBRARY_PATH=""
|
||||
cmake .. $cmake_flags -DTARGET_COMPONENT=$component
|
||||
export LD_LIBRARY_PATH=$(for i in `find $PWD/ -name '*.so*'`; do echo $(dirname $i); done|sort|uniq|xargs|sed -e 's/[[:space:]]/:/g')
|
||||
make package
|
||||
cp _CPack_Packages/Linux/DEB/*.deb ../
|
||||
cd ..
|
||||
cp _build/*.deb .
|
||||
cp *.deb ..
|
||||
cp _build/*.gz .
|
||||
cp _build/*.gz .
|
||||
done
|
||||
fi
|
||||
|
||||
|
@ -40,6 +40,7 @@ then
|
||||
for component in experimental devel client
|
||||
do
|
||||
cd _build
|
||||
rm CMakeCache.txt
|
||||
cmake .. $cmake_flags -DTARGET_COMPONENT=$component
|
||||
sudo make package
|
||||
cd ..
|
||||
|
Loading…
x
Reference in New Issue
Block a user