Browse Source

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

tags/v0.2.15^2
Hank Anderson 10 years ago
parent
commit
1c5b6bb4f7
2 changed files with 6 additions and 0 deletions
  1. +4
    -0
      cmake/prebuild.cmake
  2. +2
    -0
      driver/level2/CMakeLists.txt

+ 4
- 0
cmake/prebuild.cmake 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}"
)



+ 2
- 0
driver/level2/CMakeLists.txt 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


Loading…
Cancel
Save