Last active
May 7, 2020 15:19
-
-
Save atinfinity/1bb7bad3ed8d5f7940548f1f44967441 to your computer and use it in GitHub Desktop.
MAGMAビルドスクリプト(Ubuntu 16.04)
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 | |
SOURCE_DIR="echo $(cd $(dirname $0);pwd)" | |
BUILD_DIR=${SOURCE_DIR}/build | |
GENERATOR_NAME="Unix Makefiles" | |
mkdir build | |
cd build | |
cmake \ | |
-G "${GENERATOR_NAME}" \ | |
--build ${BUILD_DIR} \ | |
-D USE_FORTRAN=OFF \ | |
-D GPU_TARGET=Pascal \ | |
-D CMAKE_BUILD_TYPE=Release \ | |
${SOURCE_DIR} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment