Remove obsolete packages
This commit is contained in:
@@ -1,93 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
unameOut="$(uname -s)"
|
|
||||||
case "${unameOut}" in
|
|
||||||
Linux*) machineArch=Linux ;;
|
|
||||||
Darwin*) machineArch=MacOS ;;
|
|
||||||
CYGWIN*) machineArch=Windows ;;
|
|
||||||
MINGW*) machineArch=Windows ;;
|
|
||||||
*) machineArch="UNKNOWN:${unameOut}" ;;
|
|
||||||
esac
|
|
||||||
echo ${machineArch}
|
|
||||||
|
|
||||||
libVer=1_83_0
|
|
||||||
|
|
||||||
echo libVer=$libVer
|
|
||||||
|
|
||||||
scriptDir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
|
||||||
originalPath=$scriptDir/original
|
|
||||||
buildPath=$scriptDir/build
|
|
||||||
installPath=$scriptDir/install
|
|
||||||
logPath=$scriptDir/log
|
|
||||||
|
|
||||||
libFilePath=$originalPath/boost_$libVer.tar.gz
|
|
||||||
libBuildPath=$buildPath/$libVer
|
|
||||||
libInstallPath=$installPath/$libVer
|
|
||||||
libSrcPath=$buildPath/boost_$libVer
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo libFilePath=$libFilePath
|
|
||||||
echo libBuildPath=$libBuildPath
|
|
||||||
echo libInstallPath=$libInstallPath
|
|
||||||
echo libSrcPath=$libSrcPath
|
|
||||||
echo logPath=$logPath
|
|
||||||
echo
|
|
||||||
|
|
||||||
rm -rf $buildPath $installPath $logPath
|
|
||||||
|
|
||||||
mkdir -p $libBuildPath
|
|
||||||
mkdir -p $libInstallPath
|
|
||||||
mkdir -p $libSrcPath
|
|
||||||
mkdir -p $logPath
|
|
||||||
|
|
||||||
tar zxvpf $libFilePath -C $buildPath >$logPath/untar.log
|
|
||||||
|
|
||||||
if [ "${machineArch}" = "Linux" ]; then
|
|
||||||
(cd $libSrcPath &&
|
|
||||||
./bootstrap.sh --prefix=$libInstallPath >$logPath/configure.log &&
|
|
||||||
./b2 \
|
|
||||||
--build-dir=$libBuildPath \
|
|
||||||
--prefix=$libInstallPath \
|
|
||||||
--layout=versioned \
|
|
||||||
-j 4 \
|
|
||||||
toolset=gcc \
|
|
||||||
toolset=clang \
|
|
||||||
variant=release,debug \
|
|
||||||
link=shared \
|
|
||||||
threading=multi \
|
|
||||||
runtime-link=shared \
|
|
||||||
address-model=64 \
|
|
||||||
install >$logPath/build.log)
|
|
||||||
elif [ "${machineArch}" = "MacOS" ]; then
|
|
||||||
(cd $libSrcPath &&
|
|
||||||
./bootstrap.sh --prefix=$libInstallPath \
|
|
||||||
--with-toolset=clang >$logPath/configure.log &&
|
|
||||||
./b2 \
|
|
||||||
--build-dir=$libBuildPath \
|
|
||||||
--prefix=$libInstallPath \
|
|
||||||
--layout=versioned \
|
|
||||||
-j 4 \
|
|
||||||
variant=release,debug \
|
|
||||||
link=shared \
|
|
||||||
threading=multi \
|
|
||||||
runtime-link=shared \
|
|
||||||
address-model=64 \
|
|
||||||
install >$logPath/build.log)
|
|
||||||
elif [ "${machineArch}" = "Windows" ]; then
|
|
||||||
(cd $libSrcPath &&
|
|
||||||
./bootstrap.bat --prefix=$libInstallPath >$logPath/configure.log &&
|
|
||||||
./b2 \
|
|
||||||
--build-dir=$libBuildPath \
|
|
||||||
--prefix=$libInstallPath \
|
|
||||||
--layout=versioned \
|
|
||||||
-j 4 \
|
|
||||||
variant=release,debug \
|
|
||||||
link=shared \
|
|
||||||
threading=multi \
|
|
||||||
runtime-link=shared \
|
|
||||||
address-model=64 \
|
|
||||||
install >$logPath/build.log)
|
|
||||||
else
|
|
||||||
echo "unknown architecture"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,106 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
unameOut="$(uname -s)"
|
|
||||||
case "${unameOut}" in
|
|
||||||
Linux*) machineArch=Linux ;;
|
|
||||||
Darwin*) machineArch=MacOS ;;
|
|
||||||
CYGWIN*) machineArch=Windows ;;
|
|
||||||
MINGW*) machineArch=Windows ;;
|
|
||||||
*) machineArch="UNKNOWN:${unameOut}" ;;
|
|
||||||
esac
|
|
||||||
echo ${machineArch}
|
|
||||||
|
|
||||||
libVer=1.5.0
|
|
||||||
|
|
||||||
echo libVer=$libVer
|
|
||||||
|
|
||||||
scriptDir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
|
||||||
originalPath=$scriptDir/original
|
|
||||||
buildPath=$scriptDir/build
|
|
||||||
installPath=$scriptDir/install
|
|
||||||
|
|
||||||
libFilePath=$originalPath/benchmark-$libVer.tar.gz
|
|
||||||
libBuildPath=$buildPath/$libVer
|
|
||||||
libInstallPath=$installPath/$libVer
|
|
||||||
libSrcPath=$buildPath/benchmark-$libVer
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo libFilePath=$libFilePath
|
|
||||||
echo libBuildPath=$libBuildPath
|
|
||||||
echo libInstallPath=$libInstallPath
|
|
||||||
echo libSrcPath=$libSrcPath
|
|
||||||
echo
|
|
||||||
|
|
||||||
rm -rf $buildPath $installPath
|
|
||||||
|
|
||||||
mkdir -p $libBuildPath
|
|
||||||
mkdir -p $libInstallPath
|
|
||||||
mkdir -p $libSrcPath
|
|
||||||
|
|
||||||
tar zxvpf $libFilePath -C $buildPath
|
|
||||||
|
|
||||||
if [ "${machineArch}" = "Linux" ]; then
|
|
||||||
(cd $libBuildPath &&
|
|
||||||
cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON \
|
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath/release \
|
|
||||||
$libSrcPath &&
|
|
||||||
make install -j)
|
|
||||||
(cd $libBuildPath &&
|
|
||||||
cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Debug \
|
|
||||||
-DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON \
|
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath/debug \
|
|
||||||
$libSrcPath &&
|
|
||||||
make install -j)
|
|
||||||
elif [ "${machineArch}" = "MacOS" ]; then
|
|
||||||
(cd $libBuildPath &&
|
|
||||||
cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON \
|
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath/release \
|
|
||||||
-DLLVMAR_EXECUTABLE:PATH=/usr/bin/ar \
|
|
||||||
-DLLVMNM_EXECUTABLE:PATH=/usr/bin/nm \
|
|
||||||
-DLLVMRANLIB_EXECUTABLE:PATH=/usr/bin/ranlib \
|
|
||||||
$libSrcPath &&
|
|
||||||
make install -j)
|
|
||||||
(cd $libBuildPath &&
|
|
||||||
cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Debug \
|
|
||||||
-DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON \
|
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath/debug \
|
|
||||||
-DLLVMAR_EXECUTABLE:PATH=/usr/bin/ar \
|
|
||||||
-DLLVMNM_EXECUTABLE:PATH=/usr/bin/nm \
|
|
||||||
-DLLVMRANLIB_EXECUTABLE:PATH=/usr/bin/ranlib \
|
|
||||||
$libSrcPath &&
|
|
||||||
make install -j)
|
|
||||||
elif [ "${machineArch}" = "Windows" ]; then
|
|
||||||
(cd $libBuildPath &&
|
|
||||||
cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON \
|
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath/release \
|
|
||||||
-G "Visual Studio 16 2019" \
|
|
||||||
-A x64 \
|
|
||||||
$libSrcPath &&
|
|
||||||
cmake \
|
|
||||||
--build . \
|
|
||||||
--config Release \
|
|
||||||
--target INSTALL)
|
|
||||||
(cd $libBuildPath &&
|
|
||||||
cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Debug \
|
|
||||||
-DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON \
|
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath/debug \
|
|
||||||
-G "Visual Studio 16 2019" \
|
|
||||||
-A x64 \
|
|
||||||
$libSrcPath &&
|
|
||||||
cmake \
|
|
||||||
--build . \
|
|
||||||
--config Debug \
|
|
||||||
--target INSTALL)
|
|
||||||
else
|
|
||||||
echo "unknown architecture"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
Binary file not shown.
@@ -1,92 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
unameOut="$(uname -s)"
|
|
||||||
case "${unameOut}" in
|
|
||||||
Linux*) machineArch=Linux ;;
|
|
||||||
Darwin*) machineArch=MacOS ;;
|
|
||||||
CYGWIN*) machineArch=Windows ;;
|
|
||||||
MINGW*) machineArch=Windows ;;
|
|
||||||
*) machineArch="UNKNOWN:${unameOut}" ;;
|
|
||||||
esac
|
|
||||||
echo ${machineArch}
|
|
||||||
|
|
||||||
libVer=0.4.0
|
|
||||||
|
|
||||||
echo libVer=$libVer
|
|
||||||
|
|
||||||
scriptDir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
|
||||||
originalPath=$scriptDir/original
|
|
||||||
buildPath=$scriptDir/build
|
|
||||||
installPath=$scriptDir/install
|
|
||||||
|
|
||||||
libFilePath=$originalPath/glog-$libVer.tar.gz
|
|
||||||
libBuildPath=$buildPath/$libVer
|
|
||||||
libInstallPath=$installPath/$libVer
|
|
||||||
libSrcPath=$buildPath/glog-$libVer
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo libFilePath=$libFilePath
|
|
||||||
echo libBuildPath=$libBuildPath
|
|
||||||
echo libInstallPath=$libInstallPath
|
|
||||||
echo libSrcPath=$libSrcPath
|
|
||||||
echo
|
|
||||||
|
|
||||||
rm -rf $buildPath $installPath
|
|
||||||
|
|
||||||
mkdir -p $libBuildPath
|
|
||||||
mkdir -p $libInstallPath
|
|
||||||
mkdir -p $libSrcPath
|
|
||||||
|
|
||||||
tar zxvpf $libFilePath -C $buildPath
|
|
||||||
|
|
||||||
if [ "${machineArch}" = "Linux" ]; then
|
|
||||||
(cd $libBuildPath &&
|
|
||||||
cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DBUILD_SHARED_LIBS:BOOL=TRUE \
|
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath \
|
|
||||||
$libSrcPath &&
|
|
||||||
make install -j)
|
|
||||||
(cd $libBuildPath &&
|
|
||||||
cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Debug \
|
|
||||||
-DBUILD_SHARED_LIBS:BOOL=TRUE \
|
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath \
|
|
||||||
$libSrcPath &&
|
|
||||||
make install -j)
|
|
||||||
elif [ "${machineArch}" = "MacOS" ]; then
|
|
||||||
(cd $libBuildPath &&
|
|
||||||
cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DBUILD_SHARED_LIBS:BOOL=TRUE \
|
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath \
|
|
||||||
$libSrcPath &&
|
|
||||||
make install -j)
|
|
||||||
(cd $libBuildPath &&
|
|
||||||
cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Debug \
|
|
||||||
-DBUILD_SHARED_LIBS:BOOL=TRUE \
|
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath \
|
|
||||||
$libSrcPath &&
|
|
||||||
make install -j)
|
|
||||||
elif [ "${machineArch}" = "Windows" ]; then
|
|
||||||
(cd $libBuildPath &&
|
|
||||||
cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DBUILD_SHARED_LIBS:BOOL=TRUE \
|
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath \
|
|
||||||
-G "Visual Studio 16 2019" \
|
|
||||||
-A x64 \
|
|
||||||
$libSrcPath &&
|
|
||||||
cmake \
|
|
||||||
--build . \
|
|
||||||
--config Release \
|
|
||||||
--target INSTALL &&
|
|
||||||
cmake \
|
|
||||||
--build . \
|
|
||||||
--config Debug \
|
|
||||||
--target INSTALL)
|
|
||||||
else
|
|
||||||
echo "unknown architecture"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
Binary file not shown.
@@ -1,92 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
unameOut="$(uname -s)"
|
|
||||||
case "${unameOut}" in
|
|
||||||
Linux*) machineArch=Linux ;;
|
|
||||||
Darwin*) machineArch=MacOS ;;
|
|
||||||
CYGWIN*) machineArch=Windows ;;
|
|
||||||
MINGW*) machineArch=Windows ;;
|
|
||||||
*) machineArch="UNKNOWN:${unameOut}" ;;
|
|
||||||
esac
|
|
||||||
echo ${machineArch}
|
|
||||||
|
|
||||||
libVer=1.10.0
|
|
||||||
|
|
||||||
echo libVer=$libVer
|
|
||||||
|
|
||||||
scriptDir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
|
||||||
originalPath=$scriptDir/original
|
|
||||||
buildPath=$scriptDir/build
|
|
||||||
installPath=$scriptDir/install
|
|
||||||
|
|
||||||
libFilePath=$originalPath/googletest-release-$libVer.tar.gz
|
|
||||||
libBuildPath=$buildPath/$libVer
|
|
||||||
libInstallPath=$installPath/$libVer
|
|
||||||
libSrcPath=$buildPath/googletest-release-$libVer
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo libFilePath=$libFilePath
|
|
||||||
echo libBuildPath=$libBuildPath
|
|
||||||
echo libInstallPath=$libInstallPath
|
|
||||||
echo libSrcPath=$libSrcPath
|
|
||||||
echo
|
|
||||||
|
|
||||||
rm -rf $buildPath $installPath
|
|
||||||
|
|
||||||
mkdir -p $libBuildPath
|
|
||||||
mkdir -p $libInstallPath
|
|
||||||
mkdir -p $libSrcPath
|
|
||||||
|
|
||||||
tar zxvpf $libFilePath -C $buildPath
|
|
||||||
|
|
||||||
if [ "${machineArch}" = "Linux" ]; then
|
|
||||||
(cd $libBuildPath &&
|
|
||||||
cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DBUILD_SHARED_LIBS:BOOL=TRUE \
|
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath \
|
|
||||||
$libSrcPath &&
|
|
||||||
make install -j)
|
|
||||||
(cd $libBuildPath &&
|
|
||||||
cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Debug \
|
|
||||||
-DBUILD_SHARED_LIBS:BOOL=TRUE \
|
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath \
|
|
||||||
$libSrcPath &&
|
|
||||||
make install -j)
|
|
||||||
elif [ "${machineArch}" = "MacOS" ]; then
|
|
||||||
(cd $libBuildPath &&
|
|
||||||
cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DBUILD_SHARED_LIBS:BOOL=TRUE \
|
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath \
|
|
||||||
$libSrcPath &&
|
|
||||||
make install -j)
|
|
||||||
(cd $libBuildPath &&
|
|
||||||
cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Debug \
|
|
||||||
-DBUILD_SHARED_LIBS:BOOL=TRUE \
|
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath \
|
|
||||||
$libSrcPath &&
|
|
||||||
make install -j)
|
|
||||||
elif [ "${machineArch}" = "Windows" ]; then
|
|
||||||
(cd $libBuildPath &&
|
|
||||||
cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DBUILD_SHARED_LIBS:BOOL=TRUE \
|
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath \
|
|
||||||
-G "Visual Studio 16 2019" \
|
|
||||||
-A x64 \
|
|
||||||
$libSrcPath &&
|
|
||||||
cmake \
|
|
||||||
--build . \
|
|
||||||
--config Release \
|
|
||||||
--target INSTALL &&
|
|
||||||
cmake \
|
|
||||||
--build . \
|
|
||||||
--config Debug \
|
|
||||||
--target INSTALL)
|
|
||||||
else
|
|
||||||
echo "unknown architecture"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
Binary file not shown.
Reference in New Issue
Block a user