mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-30 17:52:01 +08:00
20 lines
496 B
Bash
Executable File
20 lines
496 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
brew update -v
|
|
brew upgrade boost || brew install boost
|
|
brew upgrade perl || brew install perl
|
|
brew upgrade cpanminus || brew install cpanminus
|
|
brew upgrade wxwidgets || brew install wxwidgets
|
|
brew link --overwrite perl cpanminus
|
|
|
|
export SLIC3R_STATIC=1
|
|
export BOOST_DIR=/usr/local
|
|
perl ./Build.PL
|
|
|
|
export LIBRARY_PATH=/usr/local/lib
|
|
perl ./Build.PL --gui
|
|
|
|
# Install PAR::Packer now so that it gets cached by Travis
|
|
cpanm --local-lib local-lib PAR::Packer
|