File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -2014,6 +2014,13 @@ def backend_build(
20142014
20152015 cmake_script .mkdir (os .path .join (install_dir , "backends" ))
20162016 cmake_script .rmdir (os .path .join (install_dir , "backends" , be ))
2017+
2018+ # The python library version available for install via 'yum install python3.X-devel' does not
2019+ # match the version of python inside the RHEL base container. This means that python packages
2020+ # installed within the container will not be picked up by the python backend stub process pybind
2021+ # bindings. It must instead must be installed via pyenv. We package it here for better usability.
2022+ if target_platform () == "rhel" and be == "python" :
2023+ cmake_script .cp ("/usr/lib64/libpython3*" , os .path .join (repo_install_dir , "backends" , be ))
20172024
20182025 cmake_script .cpdir (
20192026 os .path .join (repo_install_dir , "backends" , be ),
You can’t perform that action at this time.
0 commit comments