Skip to content

Commit

Permalink
Fix build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Oct 1, 2019
1 parent 0966fa0 commit 33c6d15
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .scripts/shippable_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ else
cd pcc
sed -i 's/MANPAGE=@BINPREFIX@cpp/MANPAGE=@BINPREFIX@pcc-cpp/' cc/cpp/Makefile.in
./configure --prefix=/usr --libexecdir=/usr/lib/{x86_64,i386}-linux-gnu
sudo make && make install
sudo make && sudo make install
cd ../pcc-libs
./configure --prefix=/usr --libexecdir=/usr/lib/{x86_64,i386}-linux-gnu
sudo make && make install
sudo make && sudo make install
cd ..
else
sudo apt-get install -y $COMPILER_OVERRIDE python3-pip
Expand Down
12 changes: 6 additions & 6 deletions .scripts/travis_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ else
if [ $pcc ]; then
brew install flex bison
mkdir pcc pcc-libs
wget -O - -o /dev/null http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/pcc-1.1.0.tgz | tar -xz --no-seek -C pcc --strip-components=1
wget -O - -o /dev/null http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/pcc-libs-1.1.0.tgz | tar -xz --no-seek -C pcc-libs --strip-components=1
wget -O - -o /dev/null http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/pcc-1.1.0.tgz | tar -xz -C pcc --strip-components=1
wget -O - -o /dev/null http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/pcc-libs-1.1.0.tgz | tar -xz -C pcc-libs --strip-components=1
cd pcc
./configure
sudo make && make install
sudo make && sudo make install
cd ../pcc-libs
./configure
sudo make && make install
sudo make && sudo make install
cd ..
else
brew install $COMPILER_OVERRIDE;
elif [ $GCC_OVERRIDE ]; then
brew install gcc;
fi
make ctest;
fi
Expand Down

0 comments on commit 33c6d15

Please sign in to comment.