mirror of
https://github.com/citra-mirror/citra.git
synced 2024-08-20 02:13:23 +02:00
test: use gold instead of ld
This commit is contained in:
parent
39463f1f6d
commit
93453dddb4
@ -43,6 +43,7 @@ matrix:
|
|||||||
dist: trusty
|
dist: trusty
|
||||||
services: docker
|
services: docker
|
||||||
cache: ccache
|
cache: ccache
|
||||||
|
install: "./.travis/linux-frozen/deps.sh"
|
||||||
script: "./.travis/linux-frozen/build.sh"
|
script: "./.travis/linux-frozen/build.sh"
|
||||||
- os: linux
|
- os: linux
|
||||||
env: NAME="MinGW build"
|
env: NAME="MinGW build"
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#!/bin/bash -ex
|
#!/bin/bash -ex
|
||||||
mkdir -p "$HOME/.ccache"
|
mkdir -p "$HOME/.ccache"
|
||||||
docker pull citraemu/build-environments:linux-frozen
|
|
||||||
docker run --env-file .travis/common/travis-ci.env -v $(pwd):/citra -v "$HOME/.ccache":/root/.ccache citraemu/build-environments:linux-frozen /bin/bash -ex /citra/.travis/linux-frozen/docker.sh
|
docker run --env-file .travis/common/travis-ci.env -v $(pwd):/citra -v "$HOME/.ccache":/root/.ccache citraemu/build-environments:linux-frozen /bin/bash -ex /citra/.travis/linux-frozen/docker.sh
|
||||||
|
5
.travis/linux-frozen/deps.sh
Executable file
5
.travis/linux-frozen/deps.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh -ex
|
||||||
|
|
||||||
|
sudo apt-get -y install binutils-gold
|
||||||
|
|
||||||
|
docker pull citraemu/build-environments:linux-frozen
|
@ -1,5 +1,12 @@
|
|||||||
#!/bin/bash -ex
|
#!/bin/bash -ex
|
||||||
|
|
||||||
|
mkdir -p ~/bin/gold
|
||||||
|
echo '#!/bin/bash' > ~/bin/gold/ld
|
||||||
|
echo 'gold "$@"' >> ~/bin/gold/ld
|
||||||
|
chmod a+x ~/bin/gold/ld
|
||||||
|
export CFLAGS="-B$HOME/bin/gold $CFLAGS"
|
||||||
|
export CXXFLAGS="-B$HOME/bin/gold $CXXFLAGS"
|
||||||
|
|
||||||
cd /citra
|
cd /citra
|
||||||
|
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
|
Loading…
Reference in New Issue
Block a user