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

Commit

Permalink
Fixed issues getting SHTOOLS compiled properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Jan 18, 2024
1 parent c170a72 commit 477adda
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ ELSE()
MESSAGE(FATAL_ERROR "Compiler ${CMAKE_Fortran_COMPILER_ID} not recognized!")
ENDIF ()
FIND_PACKAGE(SHTOOLS REQUIRED)
FIND_PACKAGE(FFTW3 REQUIRED)

# The following section is modified from Numpy f2py documentation
IF(PROJECT_SOURCE_DIR STREQUAL PROJECT_BINARY_DIR)
Expand Down
2 changes: 1 addition & 1 deletion buildscripts/install_editable_debug.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cd ${ROOT_DIR}
python3 -m venv ${VENV_DIR}
. ${VENV_DIR}/bin/activate
python3 -m pip install --upgrade pip
pip install scikit-build-core pyproject-metadata pathspec ninja cython cmake ffmpeg-python
pip install scikit-build-core pyproject-metadata pathspec ninja cython cmake ffmpeg-python
pip install --config-settings=editable.rebuild=true \
--config-settings=build-dir="build/{wheel_tag}" \
--config-settings=cmake.build-type="Debug" \
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ dependencies = [
'astroquery>=0.4.6',
'tqdm>=4.64.1',
'cython>=3.0.0',
'pyshtools>=4.10'
'pyshtools==4.10.4'
]

[project.urls]
Expand Down

0 comments on commit 477adda

Please sign in to comment.