Skip to content

Commit

Permalink
Revert "Revert "Merge pull request numba#410 from stuartarchibald/wip…
Browse files Browse the repository at this point in the history
…/temp_disable_svml""

This reverts commit 11695ec.
  • Loading branch information
stuartarchibald committed Oct 31, 2018
1 parent f6bdc17 commit 68ce550
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ffi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ add_definitions(${LLVM_DEFINITIONS})
# Look for SVML
set(CMAKE_REQUIRED_INCLUDES ${LLVM_INCLUDE_DIRS})

CHECK_INCLUDE_FILES("llvm/IR/SVML.inc" HAVE_SVML)
CHECK_INCLUDE_FILES("llvm/IR/SVML.TEMP_DISABLED" HAVE_SVML)
if(HAVE_SVML)
message(STATUS "SVML found")
add_definitions(-DHAVE_SVML)
Expand Down
2 changes: 1 addition & 1 deletion ffi/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def main_posix(kind, library_ext):

# look for SVML
include_dir = run_llvm_config(llvm_config, ['--includedir']).strip()
svml_indicator = os.path.join(include_dir, 'llvm', 'IR', 'SVML.inc')
svml_indicator = os.path.join(include_dir, 'llvm', 'IR', 'SVML.TEMP_DISABLED')
if os.path.isfile(svml_indicator):
cxxflags = cxxflags + ['-DHAVE_SVML']
print('SVML detected')
Expand Down

0 comments on commit 68ce550

Please sign in to comment.