mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-26 16:02:04 +08:00
Merge pull request #3409 from alexrj/travis-boost-filesystem
Add boost-filesystem to list of dependencies
This commit is contained in:
commit
5fb23f9b96
25
.travis.yml
25
.travis.yml
@ -1,16 +1,6 @@
|
|||||||
language: perl
|
language: perl
|
||||||
install:
|
install: export LDLOADLIBS=-lstdc++
|
||||||
- export LDLOADLIBS=-lstdc++
|
script: perl ./Build.PL
|
||||||
- export BUILD_DIR=$(pwd)
|
|
||||||
- export FORCE_BOOST=1
|
|
||||||
- cpanm local::lib
|
|
||||||
- eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"
|
|
||||||
- export BOOST_DIR=$HOME/boost_1_58_0
|
|
||||||
- if [ ! -d "$BOOST_DIR" ]; then wget https://sourceforge.net/projects/boost/files/boost/1.58.0/boost_1_58_0.tar.bz2; tar -xf boost_1_58_0.tar.bz2; mv boost_1_58_0 $HOME; cd $HOME/boost_1_58_0;$HOME/boost_1_58_0/bootstrap.sh gcc; $HOME/boost_1_58_0/b2; fi
|
|
||||||
- cd $BUILD_DIR
|
|
||||||
# Add our local boost version to the environment.
|
|
||||||
- export LD_LIBRARY_PATH=$HOME/boost_1_58_0/stage/lib:${LD_LIBRARY_PATH}
|
|
||||||
script: LIBRARY_PATH=$HOME/boost_1_58_0/stage/lib CPLUS_INCLUDE_PATH=$HOME/boost_1_58_0 perl ./Build.PL
|
|
||||||
perl:
|
perl:
|
||||||
- "5.14"
|
- "5.14"
|
||||||
- "5.18"
|
- "5.18"
|
||||||
@ -21,5 +11,12 @@ branches:
|
|||||||
- stable
|
- stable
|
||||||
sudo: false
|
sudo: false
|
||||||
cache:
|
cache:
|
||||||
directories:
|
- apt
|
||||||
- $HOME/boost_1_58_0
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- boost-latest
|
||||||
|
packages:
|
||||||
|
- libboost-thread1.55-dev
|
||||||
|
- libboost-system1.55-dev
|
||||||
|
- libboost-filesystem1.55-dev
|
||||||
|
Loading…
x
Reference in New Issue
Block a user