-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.config
22 lines (17 loc) · 881 Bytes
/
build.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// vim: ft=sh
# This file contains build options. Use ON to enable and OFF to disable certain
# features. Each feature uses CMake flag syntax. Therefore, you may add new
# options on a separate line by following the CMake syntax as used below.
# Option to enable/disable OpenMP. Set ON to enable, OFF to disable.
-DBUILD_OPENMP=ON
# Option to enable/disable CUDA. Set ON to enable, OFF to disable.
-DBUILD_CUDA=ON
# Set the compiler to use. This is important when compliing CUDA code since
# certain CUDA versions support different compiler versions. For example, when
# using CUDA 8, the highest possible g++ version is 5.
-DCMAKE_CXX_COMPILER=g++-5
-DCMAKE_C_COMPILER=gcc-5
# Celero include and shared library paths. These options are used only when
# building the benchmarks.
-DCELERO_INCLUDE_DIR=/usr/local/include/celero
-DCELERO_LIBRARY_PATH=/usr/local/lib/libcelero.so