From a42040158210fe8b124c5102055a21420e35e420 Mon Sep 17 00:00:00 2001 From: Yi Zhang Date: Wed, 16 Mar 2022 08:39:49 +0800 Subject: [PATCH] tmp update --- .gitignore | 4 ++-- CMakeLists.txt | 2 -- lib/CMakeLists.txt | 2 +- stow-config.sh | 3 --- 4 files changed, 3 insertions(+), 8 deletions(-) delete mode 100755 stow-config.sh diff --git a/.gitignore b/.gitignore index 75453a0..afbe66d 100644 --- a/.gitignore +++ b/.gitignore @@ -32,6 +32,6 @@ *.app build/ -.vs_code/ +.vscode/ .DS_Store -*.sh \ No newline at end of file +*.sh diff --git a/CMakeLists.txt b/CMakeLists.txt index b90f300..a79e73d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 2720926..9d2d3b7 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -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") diff --git a/stow-config.sh b/stow-config.sh deleted file mode 100755 index 5a08868..0000000 --- a/stow-config.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -sudo stow --dir=/opt/stow --target=/usr/local -S magtess \ No newline at end of file