Created
May 8, 2018 19:56
-
-
Save geneotech/d0e9524e23816fa25d1e5e544599dc6a to your computer and use it in GitHub Desktop.
This file contains 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
mkdir .deps ; cd .deps | |
cmake -DCMAKE_BUILD_TYPE=Release ../third-party -G Ninja | |
ninja | |
export CFLAGS='-O3 -flto -fuse-ld=lld' | |
export CXXFLAGS='-O3 -flto -fwhole-program-vtables -fuse-ld=lld' | |
export LDFLAGS='-flto -fwhole-program-vtables -fuse-ld=lld' | |
../ | |
mkdir build ; cd build | |
cmake -DCMAKE_BUILD_TYPE=Release .. -G Ninja | |
ninja | |
sudo ninja install | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment