diff --git a/.github/workflows/wheel.yml b/.github/workflows/wheel.yml index 858f9fb6ee..8236b6d623 100644 --- a/.github/workflows/wheel.yml +++ b/.github/workflows/wheel.yml @@ -14,21 +14,25 @@ permissions: on: push: # Workflow run on tags for v3 only, or pre-tagged pushes of release, or - # dev-3.* branches. + # dev-3.* branches. Also if the branch name itself contains the substrings + # 'wheel' or 'python'. tags: - v3.* branches: - release - dev-3.* + - "*wheel*" + - "*python*" pull_request: - # Workflow run on pull_request only when related files change. + # Workflow run on pull_request only when related files change, or when the + # branch name itself contains the substrings 'wheel' or 'python'. paths: - .github/workflows/wheel.yml - pyproject.toml - src/python/*.py - src/python/*.h - src/python/*.cpp - - src/cmake/pythonutils.cmake + - src/cmake/*.cmake schedule: # Nightly build - cron: "0 8 * * *" diff --git a/src/cmake/compiler.cmake b/src/cmake/compiler.cmake index 6eb8f27561..bde36ef025 100644 --- a/src/cmake/compiler.cmake +++ b/src/cmake/compiler.cmake @@ -691,6 +691,7 @@ else () set(BASEPOINT $ORIGIN) endif() set (CMAKE_INSTALL_RPATH ${BASEPOINT} + ${BASEPOINT}/${CMAKE_INSTALL_LIBDIR} ${BASEPOINT}/../${CMAKE_INSTALL_LIBDIR}) endif () # add the automatically determined parts of the RPATH that