Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
Signed-off-by: Pawan <pawan@mayadata.io>
  • Loading branch information
pawanpraka1 committed Mar 11, 2022
1 parent c42f690 commit 4e0f25d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
jobs:

cstor:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
strategy:
fail-fast: true
matrix:
Expand Down
2 changes: 1 addition & 1 deletion buildscripts/install-build-dep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ make -j4
cd ..

# clone and build SPL
git clone https://github.com/${LCSTOR_ORG}/spl
git clone https://github.com/pawanpraka1/spl
cd spl || exit 1
git checkout spl-0.7.9
sh autogen.sh
Expand Down
10 changes: 1 addition & 9 deletions buildscripts/install-tool-dep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
ARCH=$(uname -p)

sudo apt-get update -qq
sudo apt-get install --yes -qq gcc-6 g++-6
sudo apt-get install --yes -qq gcc g++
sudo apt-get install --yes -qq build-essential autoconf libtool gawk alien fakeroot libaio-dev jq
sudo apt-get install --yes -qq linux-headers-$(uname -r);
sudo apt-get install --yes -qq zlib1g-dev uuid-dev libattr1-dev libblkid-dev libselinux-dev libudev-dev libssl-dev libjson-c-dev
Expand All @@ -17,11 +17,3 @@ if [ "$ARCH" == "x86_64" ]; then
fi

sudo apt-get install --yes -qq libgtest-dev cmake

# packages for debugging
sudo apt-get install gdb

# use gcc-6 by default
sudo unlink /usr/bin/gcc && sudo ln -s /usr/bin/gcc-6 /usr/bin/gcc
sudo unlink /usr/bin/g++ && sudo ln -s /usr/bin/g++-6 /usr/bin/g++

0 comments on commit 4e0f25d

Please sign in to comment.