mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-28 20:01:58 +08:00
17 lines
353 B
Bash
Executable File
17 lines
353 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
brew update -v
|
|
brew install boost perl cpanminus 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
|