Skip to content

Commit

Permalink
Handle xcfun patch failure in cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
sunqm committed Dec 18, 2023
1 parent f9614a4 commit 0bc590f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyscf/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ if(ENABLE_XCFUN AND BUILD_XCFUN)
GIT_REPOSITORY https://github.com/dftlibs/xcfun.git
GIT_TAG a89b783
# This patch adds the xcfun derivative order up to 5
PATCH_COMMAND git apply ${PROJECT_SOURCE_DIR}/libxcfun.patch
PATCH_COMMAND git apply --reject ${PROJECT_SOURCE_DIR}/libxcfun.patch
PREFIX ${PROJECT_BINARY_DIR}/deps
INSTALL_DIR ${PROJECT_SOURCE_DIR}/deps
CMAKE_ARGS -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_SHARED_LIBS=1
Expand Down

0 comments on commit 0bc590f

Please sign in to comment.