Skip to content

Commit

Permalink
Revert "Try a fix for Mac 3.12 with GHA"
Browse files Browse the repository at this point in the history
This reverts commit 7fdec3d.
  • Loading branch information
jmarrec committed Mar 14, 2024
1 parent 7fdec3d commit 0cca1d0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmake/PythonFixUpOnMac.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ execute_process(COMMAND "chmod" "+w" "${LOCAL_PYTHON_LIBRARY}")
# then we set the ID on the Python dylib; # TODO: Try without this...
execute_process(COMMAND "install_name_tool" -id "@executable_path/${PYTHON_LIB_FILENAME}" "${LOCAL_PYTHON_LIBRARY}")

# with the bump to Python 3.12, it looks like we are having to unsign the Python binary also?
execute_process(COMMAND "codesign --remove-signature ${LOCAL_PYTHON_LIBRARY}")

# for the energyplus executable, just find the python dynamic library right next to it for sure
file(GET_RUNTIME_DEPENDENCIES RESOLVED_DEPENDENCIES_VAR PREREQUISITES EXECUTABLES ${EXECUTABLE_PATH})
foreach(PREREQ IN LISTS PREREQUISITES)
Expand Down

0 comments on commit 0cca1d0

Please sign in to comment.