Skip to content

Instantly share code, notes, and snippets.

@pearswj
Last active June 1, 2020 10:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pearswj/b97a0923733b3b65dcffe6f82d4588ac to your computer and use it in GitHub Desktop.
Save pearswj/b97a0923733b3b65dcffe6f82d4588ac to your computer and use it in GitHub Desktop.
Toolchain for building rhino3dm on Amazon Linux 2
# 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
@sbaer
Copy link

sbaer commented May 31, 2020

@pearswj
Copy link
Author

pearswj commented Jun 1, 2020

Updated. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment