Last active
June 1, 2020 10:00
-
-
Save pearswj/b97a0923733b3b65dcffe6f82d4588ac to your computer and use it in GitHub Desktop.
Toolchain for building rhino3dm on Amazon Linux 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://docs.microsoft.com/en-gb/dotnet/core/install/linux-package-manager-centos7 | |
sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm | |
sudo yum install -y dotnet-sdk-2.2 cmake3 gcc-c++ git | |
# symlink cmake3 to ~/bin/cmake (on $PATH) | |
mkdir -p ~/bin && ln -s $(which cmake3) ~/bin/cmake | |
git clone --recursive https://github.com/mcneel/rhino3dm.git | |
cd rhino3dm | |
# cmake(3) version check needs fixing | |
# python3 script/bootstrap.py -p linux -v | |
python3 script/setup.py -p linux -v | |
python3 script/build.py -p linux -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated. Thanks!