summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-04-23 18:48:27 -0400
committerErik Schnetter <schnetter@gmail.com>2013-04-23 18:48:27 -0400
commit8050db7909e0da05a84a1f5ccedfb89e27887a74 (patch)
tree1f770e563bad356dae10961ad26c5d05c69ee571
parent2f4441d34b351ebb7e1462041d113f2508d3bea6 (diff)
downloadvecmathlib-8050db7909e0da05a84a1f5ccedfb89e27887a74.zip
vecmathlib-8050db7909e0da05a84a1f5ccedfb89e27887a74.tar.gz
Add 64-bit flags when building pocl library
-rw-r--r--pocl/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/pocl/CMakeLists.txt b/pocl/CMakeLists.txt
index 68e189d..6691814 100644
--- a/pocl/CMakeLists.txt
+++ b/pocl/CMakeLists.txt
@@ -10,9 +10,11 @@ set (SRCS
${GENERATED_SRCS}
)
-add_custom_command(
+add_custom_command (
OUTPUT ${GENERATED_SRCS} kernel-vecmathlib.h
COMMAND ./generate-files.py
DEPENDS generate-files.py)
add_library (kernel-vecmathlib ${SRCS})
+
+set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Dcl_khr_fp64 -Dcles_khr_int64")
OpenPOWER on IntegriCloud