-
Notifications
You must be signed in to change notification settings - Fork 616
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Azure Linux/SonarCloud jobs to work with new build
Signed-off-by: Christina Tempelaar-Lietz <xlietz@gmail.com>
- Loading branch information
Showing
6 changed files
with
151 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -ex | ||
|
||
BOOST_VERSION="$1" | ||
BOOST_MAJOR_MINOR=$(echo "${BOOST_VERSION}" | cut -d. -f-2) | ||
BOOST_MAJOR=$(echo "${BOOST_VERSION}" | cut -d. -f-1) | ||
BOOST_MINOR=$(echo "${BOOST_MAJOR_MINOR}" | cut -d. -f2-) | ||
BOOST_PATCH=$(echo "${BOOST_VERSION}" | cut -d. -f3-) | ||
BOOST_VERSION_U="${BOOST_MAJOR}_${BOOST_MINOR}_${BOOST_PATCH}" | ||
|
||
mkdir _boost | ||
cd _boost | ||
|
||
wget -q https://sourceforge.net/projects/boost/files/boost/${BOOST_VERSION}/boost_${BOOST_VERSION_U}.tar.gz | ||
tar -xzf boost_${BOOST_VERSION_U}.tar.gz | ||
|
||
cd boost_${BOOST_VERSION_U} | ||
sh bootstrap.sh | ||
./b2 install -j4 variant=release toolset=gcc \ | ||
--with-system \ | ||
--with-regex \ | ||
--with-filesystem \ | ||
--with-thread \ | ||
--with-python \ | ||
--prefix=/usr/local | ||
|
||
cd ../.. | ||
rm -rf _boost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -ex | ||
|
||
echo "Updating to newer cmake to enable python-3" | ||
|
||
CMAKE_VERSION="$1" | ||
|
||
curl --location "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-Linux-x86_64.sh" -o /tmp/cmake.sh | ||
cd /tmp && sh cmake.sh --skip-license --prefix=/usr/local --exclude-subdir | ||
rm /tmp/cmake.sh | ||
|
||
echo $(ls /usr/local/bin) | ||
echo $(which cmake) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters