tmp update

This commit is contained in:
张壹 2022-03-16 08:39:49 +08:00
parent 617bcbcfd0
commit a420401582
4 changed files with 3 additions and 8 deletions

4
.gitignore vendored
View File

@ -32,6 +32,6 @@
*.app
build/
.vs_code/
.vscode/
.DS_Store
*.sh
*.sh

View File

@ -6,8 +6,6 @@ include(CMakePackageConfigHelpers)
if(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows")
set(CMAKE_INSTALL_PREFIX D:/Library)
else()
set(CMAKE_INSTALL_PREFIX /opt/stow/magtess)
endif()
message(STATUS "Platform: " ${CMAKE_HOST_SYSTEM_NAME})

View File

@ -7,7 +7,7 @@ if(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows")
include_directories(${OpenBLAS_INCLUDE_DIRS})
elseif(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Darwin")
# 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)
include_directories(${OpenBLAS_INCLUDE_DIRS})
elseif(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Linux")

View File

@ -1,3 +0,0 @@
#!/bin/bash
sudo stow --dir=/opt/stow --target=/usr/local -S magtess