Skip to content

Commit

Permalink
Temporary fixes for setup
Browse files Browse the repository at this point in the history
At least until the CI-CD pipeline is ready
  • Loading branch information
networkfusion authored Aug 11, 2019
1 parent 7d1f2d1 commit 42cec02
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tools/setup-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ apt-get update
apt-get -y upgrade

# Install essential packages [sudo req.]
apt-get -y install build-essential git texinfo libc6 libgmp-dev libmpfr-dev libmpc-dev libpng-dev zlib1g-dev libtool autoconf
apt-get -y install wget build-essential git texinfo libc6 libgmp-dev libmpfr-dev libmpc-dev libpng-dev zlib1g-dev libtool autoconf

# change to the users root directory
cd ~/
Expand All @@ -22,6 +22,8 @@ export N64_INST=/usr/local/libdragon

# Pull the latest libdragon source code and make a build directory
git clone https://github.com/dragonminded/libdragon.git
# set to correct commit
cd libdragon && git checkout b26fce6 && cd ..

# fix issues with the build scripts
sed -i -- 's|${N64_INST:-/usr/local}|/usr/local/libdragon|g' libdragon/tools/build
Expand Down Expand Up @@ -70,7 +72,7 @@ make install
cd ..
# install libmad (custom version)
git clone https://github.com/n64-tools/libmad
cd libmad-n64
cd libmad
export PATH=$PATH:$N64_INST/bin
CFLAGS="-std=gnu99 -march=vr4300 -mtune=vr4300" \
LDFLAGS="-L$N64_INST/lib -Tn64ld.x" \
Expand All @@ -84,4 +86,3 @@ cd ..
# Perform cleanup
apt-get -y autoremove
apt-get autoclean

0 comments on commit 42cec02

Please sign in to comment.