Last active
December 9, 2018 03:24
-
-
Save neofob/8a73e2f44787541c11c0445763953950 to your computer and use it in GitHub Desktop.
milkyway at home opencl build
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
#!/bin/bash | |
mkdir /tmp/MW /tmp/MW/build | |
cd /tmp/MW | |
git clone --depth=10 https://github.com/Milkyway-at-home/milkywayathome_client | |
cd milkywayathome_client | |
git submodule init | |
git submodule update --recursive | |
cd ../build | |
cmake -DBUILD_32=OFF -DSEPARATION=ON -DNBODY=OFF -DSEPARATION_OPENCL=ON \ | |
-DOPENCL_LIBRARIES=/opt/amdgpu-pro/lib/x86_64-linux-gnu/libOpenCL.so.1 \ | |
-DOPENCL_INCLUDE_DIRS=/opt/amdgpu-pro/include/CL/ ../milkywayathome_client | |
make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment