Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Updated the scikit-build-core options to place compiled files into th…
Browse files Browse the repository at this point in the history
…e correct locations
  • Loading branch information
daminton committed Feb 13, 2024
1 parent ceba718 commit d3d5037
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ ELSE()

INCLUDE(GNUInstallDirs)
IF (SKBUILD)
SET(INSTALL_BINDIR ${SKBUILD_PLATLIB_DIR}/${SKBUILD_PROJECT_NAME})
SET(INSTALL_LIBDIR ${SKBUILD_PLATLIB_DIR}/${SKBUILD_PROJECT_NAME})
SET(INSTALL_INCLUDEDIR ${INSTALL_LIBDIR})
SET(INSTALL_BINDIR ${SKBUILD_SCRIPTS_DIR})
SET(INSTALL_LIBDIR ${SKBUILD_DATA_DIR}/lib)
SET(INSTALL_INCLUDEDIR ${SKBUILD_HEADERS_DIR})
IF (APPLE)
SET(CMAKE_INSTALL_RPATH "@loader_path")
ELSEIF (LINUX)
Expand Down
1 change: 1 addition & 0 deletions buildscripts/build_negishi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ pip install --config-settings=editable.rebuild=true \
--config-settings=cmake.args="-DCMAKE_Fortran_COMPILER=mpiifort" \
--config-settings=cmake.args="-DCMAKE_Fortran_FLAGS=\"-f90=ifort\"" \
--config-settings=cmake.args="-DMACHINE_CODE_VALUE=\"CORE-AVX-I\" " \
--config-settings=install.strip=false \
--no-build-isolation \
-ve .

Expand Down

0 comments on commit d3d5037

Please sign in to comment.