tmp update
This commit is contained in:
parent
617bcbcfd0
commit
a420401582
4
.gitignore
vendored
4
.gitignore
vendored
@ -32,6 +32,6 @@
|
|||||||
*.app
|
*.app
|
||||||
|
|
||||||
build/
|
build/
|
||||||
.vs_code/
|
.vscode/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
*.sh
|
*.sh
|
||||||
|
@ -6,8 +6,6 @@ include(CMakePackageConfigHelpers)
|
|||||||
|
|
||||||
if(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows")
|
if(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows")
|
||||||
set(CMAKE_INSTALL_PREFIX D:/Library)
|
set(CMAKE_INSTALL_PREFIX D:/Library)
|
||||||
else()
|
|
||||||
set(CMAKE_INSTALL_PREFIX /opt/stow/magtess)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
message(STATUS "Platform: " ${CMAKE_HOST_SYSTEM_NAME})
|
message(STATUS "Platform: " ${CMAKE_HOST_SYSTEM_NAME})
|
||||||
|
@ -7,7 +7,7 @@ if(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows")
|
|||||||
include_directories(${OpenBLAS_INCLUDE_DIRS})
|
include_directories(${OpenBLAS_INCLUDE_DIRS})
|
||||||
elseif(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Darwin")
|
elseif(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Darwin")
|
||||||
# set OpenBLAS directory manually
|
# set OpenBLAS directory manually
|
||||||
set(OpenBLAS_DIR /opt/homebrew/Cellar/openblas/0.3.17/lib/cmake/openblas)
|
set(OpenBLAS_DIR /opt/homebrew/Cellar/openblas/0.3.20/lib/cmake/openblas)
|
||||||
find_package(OpenBLAS REQUIRED)
|
find_package(OpenBLAS REQUIRED)
|
||||||
include_directories(${OpenBLAS_INCLUDE_DIRS})
|
include_directories(${OpenBLAS_INCLUDE_DIRS})
|
||||||
elseif(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Linux")
|
elseif(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Linux")
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
sudo stow --dir=/opt/stow --target=/usr/local -S magtess
|
|
Loading…
Reference in New Issue
Block a user