Skip to content

Instantly share code, notes, and snippets.

@atinfinity
Last active May 7, 2020 15:19
Show Gist options
  • Save atinfinity/1bb7bad3ed8d5f7940548f1f44967441 to your computer and use it in GitHub Desktop.
Save atinfinity/1bb7bad3ed8d5f7940548f1f44967441 to your computer and use it in GitHub Desktop.
MAGMAビルドスクリプト(Ubuntu 16.04)
#!/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