Skip to content

Commit

Permalink
Test CICD 61
Browse files Browse the repository at this point in the history
  • Loading branch information
EliasReutelsterz committed Jul 1, 2024
1 parent a507b91 commit 58df060
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/code-gen/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ endif()


# find appropriate compiler flags
# set(CPU_FLAGS "-march=native" "-mtune=native")
# if (${ARCH} STREQUAL "thunderx2t99")
# set(CPU_FLAGS ${CPU_FLAGS} "-mcpu=native")
# endif()
set(CPU_FLAGS "-march=native" "-mtune=native")
if (${ARCH} STREQUAL "thunderx2t99")
set(CPU_FLAGS ${CPU_FLAGS} "-mcpu=native")
endif()


find_package(CxxTest REQUIRED)
Expand All @@ -49,6 +49,7 @@ elseif(VARIANT STREQUAL "LIBXSMM_JIT")
set(EXTRA_INCLUDES ${LIBXSMM_INCLUDE_DIRS} ${BLAS_INCLUDE_DIRS})
set(EXTRA_LIBS ${LIBXSMM_LIBRARIES} ${BLAS_LIBRARIES})
elseif(VARIANT STREQUAL "LIBXSMM")
set(CPU_ARCH_FLAGS "-mavx" PARENT_SCOPE)
find_package(Libxsmm_executable REQUIRED)
elseif(VARIANT STREQUAL "Eigen")
find_package(Eigen3 REQUIRED)
Expand Down

0 comments on commit 58df060

Please sign in to comment.