Skip to content

Commit

Permalink
Do no more install libs in python folder on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
philippeVerney committed Jul 24, 2024
1 parent 786547a commit d5fadbd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ jobs:
cmake3 -DCMAKE_BUILD_TYPE=Release -DHDF5_ROOT={project}/../hdf5-install -DHDF5_USE_STATIC_LIBRARIES=TRUE -DWITH_PYTHON_WRAPPING=TRUE -DCMAKE_INSTALL_PREFIX:STRING={project}/../fesapi-install {project} &&
cmake3 --build . -j2 --config Release &&
cmake3 --install . &&
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:{project}/../fesapi-install/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:{project}/../fesapi-install/lib64
with:
package-dir: ./python
output-dir: wheelhouse
Expand Down
5 changes: 0 additions & 5 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -386,11 +386,6 @@ if (WITH_PYTHON_WRAPPING)
TARGETS ${CPP_LIBRARY_NAME}
RUNTIME DESTINATION ${FESAPI_ROOT_DIR}/python/fesapi/
)
ELSE ()
INSTALL (
TARGETS ${CPP_LIBRARY_NAME}
LIBRARY DESTINATION ${FESAPI_ROOT_DIR}/python/fesapi/
)
ENDIF (WIN32)
INSTALL(CODE "execute_process(COMMAND ${Python3_EXECUTABLE} ${CMAKE_SOURCE_DIR}/python/setup.py bdist_wheel
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/python)")
Expand Down

0 comments on commit d5fadbd

Please sign in to comment.