Skip to content

Commit 8ddc5fa

Browse files
committed
Update Mac OS X port
* follow comments to fix bugs
1 parent 54c37ab commit 8ddc5fa

File tree

13 files changed

+259
-232
lines changed

13 files changed

+259
-232
lines changed

cmake/cblas.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ set(ATLAS_LIB_SEARCH_PATHS
4444
/usr/lib
4545
/usr/lib/blas/atlas
4646
/usr/lib/atlas
47-
/usr/lib/atlas-base) # special for ubuntu 14.04.
48-
47+
/usr/lib/atlas-base # special for ubuntu 14.04.
48+
)
4949
find_path(ATLAS_INC_DIR NAMES cblas.h
5050
PATHS ${ATLAS_INCLUDE_SEARCH_PATHS})
5151
find_library(ATLAS_CBLAS_LIB NAMES cblas libcblas.so.3

cmake/util.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ function(target_circle_link_libraries TARGET_NAME)
2424
list(APPEND libsInArgn ${arg})
2525
endif()
2626
endforeach()
27-
27+
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
28+
list(APPEND LIBS "-undefined dynamic_lookup")
29+
endif()
2830
list(REVERSE libsInArgn)
2931
target_link_libraries(${TARGET_NAME}
3032
${LIBS}

0 commit comments

Comments
 (0)