Skip to content

Commit

Permalink
cmake: rm old options
Browse files Browse the repository at this point in the history
  • Loading branch information
tvandera committed Jun 20, 2024
1 parent 541f5bd commit 99f7d74
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ MESSAGE("smurff")
# OPTIONS

OPTION(ENABLE_BLAS "Look for any BLAS" ON)
OPTION(ENABLE_OPENBLAS "Look only for OPENBLAS library" OFF)
OPTION(ENABLE_MKL "Look only for MKL library" OFF)

OPTION(ENABLE_PROFILING "Enable performance counters" OFF)
OPTION(ENABLE_ASAN "Enable address sanitizer" OFF)
Expand Down Expand Up @@ -117,7 +115,7 @@ if (MSVC OR MSVC_IDE OR MSVC_VERSION OR MSVC60 OR MSVC70 OR MSVC71 OR MSVC80 OR
#hide some irritating c++ unsafe function warnings
add_definitions(-D_SCL_SECURE_NO_WARNINGS)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)

add_definitions(-D_WINDOWS)

set (CMAKE_EXE_LINKER_FLAGS "/SAFESEH:NO")
Expand All @@ -143,7 +141,7 @@ elseif (CMAKE_COMPILER_IS_GNUCXX OR APPLE)
add_compile_options(-fno-omit-frame-pointer -fsanitize=address)
add_link_options(-fno-omit-frame-pointer -fsanitize=address)
endif()

if (ENABLE_TSAN)
add_compile_options(-fno-omit-frame-pointer -fsanitize=thread)
add_link_options(-fno-omit-frame-pointer -fsanitize=thread)
Expand Down Expand Up @@ -304,7 +302,7 @@ enable_testing()
add_test( unittests tests )

if(${EXTERNAL_DATA})
file(DOWNLOAD http://homes.esat.kuleuven.be/~jsimm/chembl-IC50-346targets.mm
file(DOWNLOAD http://homes.esat.kuleuven.be/~jsimm/chembl-IC50-346targets.mm
${CMAKE_CURRENT_BINARY_DIR}/jsimm-data/chembl-IC50-346targets.mm
EXPECTED_HASH SHA256=10c3e1f989a7a415a585a175ed59eeaa33eff66272d47580374f26342cddaa88
)
Expand Down

0 comments on commit 99f7d74

Please sign in to comment.