Added CORE define to config.h in prebuild.cmake (temporarily).

This commit is contained in:
Hank Anderson 2015-01-28 16:33:48 -06:00
parent c5f5c7a076
commit 1c5b6bb4f7
2 changed files with 6 additions and 0 deletions

View File

@ -106,4 +106,8 @@ message(STATUS "GETARCH LOG: ${GETARCH_LOG}")
# temporarily hardcoded to get system.cmake working # temporarily hardcoded to get system.cmake working
set(NUM_CORES 4) set(NUM_CORES 4)
set(CORE "GENERIC") set(CORE "GENERIC")
# TODO: this should be done by getarch! see above
file(APPEND ${TARGET_CONF}
"#define ${CORE}"
)

View File

@ -1,4 +1,6 @@
include_directories(${CMAKE_SOURCE_DIR})
# sources that need to be compiled twice, once with no flags and once with LOWER # sources that need to be compiled twice, once with no flags and once with LOWER
set(UL_SOURCES set(UL_SOURCES
sbmv_k.c sbmv_k.c