Skip to content

Instantly share code, notes, and snippets.

@neofob
Last active December 9, 2018 03:24
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 neofob/8a73e2f44787541c11c0445763953950 to your computer and use it in GitHub Desktop.
Save neofob/8a73e2f44787541c11c0445763953950 to your computer and use it in GitHub Desktop.
milkyway at home opencl build
#!/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