Skip to content

Commit

Permalink
Merge pull request easybuilders#19226 from ocaisa/20231113143856_new_…
Browse files Browse the repository at this point in the history
…pr_Pillow1000

Make Pillow easyconfigs aware of sysroot
  • Loading branch information
verdurin authored Nov 13, 2023
2 parents 37debc4 + c0ad1ab commit 1ae8ca7
Show file tree
Hide file tree
Showing 13 changed files with 91 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,15 @@ dependencies = [
]

download_dep_fail = True

# If we have a sysroot, make sure it is picked up
# (should not affect non-sysroot as the template is empty in this scenario)
preinstallopts = "export CPATH=$CPATH:%(sysroot)s/usr/include && "
preinstallopts += "export LIBRARY_PATH=$LIBRARY_PATH:%(sysroot)s/usr/lib:%(sysroot)s/usr/lib64 && "

# avoid that hardcoded paths like /usr/include are used in build commands
installopts = "--global-option=build_ext --global-option='--disable-platform-guessing' "

use_pip = True
sanity_pip_check = True

Expand Down
7 changes: 7 additions & 0 deletions easybuild/easyconfigs/p/Pillow/Pillow-6.0.0-GCCcore-8.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,15 @@ dependencies = [
]

download_dep_fail = True

# If we have a sysroot, make sure it is picked up
# (should not affect non-sysroot as the template is empty in this scenario)
preinstallopts = "export CPATH=$CPATH:%(sysroot)s/usr/include && "
preinstallopts += "export LIBRARY_PATH=$LIBRARY_PATH:%(sysroot)s/usr/lib:%(sysroot)s/usr/lib64 && "

# avoid that hardcoded paths like /usr/include are used in build commands
installopts = "--global-option=build_ext --global-option='--disable-platform-guessing' "

use_pip = True
sanity_pip_check = True

Expand Down
7 changes: 7 additions & 0 deletions easybuild/easyconfigs/p/Pillow/Pillow-6.2.1-GCCcore-8.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,15 @@ dependencies = [
]

download_dep_fail = True

# If we have a sysroot, make sure it is picked up
# (should not affect non-sysroot as the template is empty in this scenario)
preinstallopts = "export CPATH=$CPATH:%(sysroot)s/usr/include && "
preinstallopts += "export LIBRARY_PATH=$LIBRARY_PATH:%(sysroot)s/usr/lib:%(sysroot)s/usr/lib64 && "

# avoid that hardcoded paths like /usr/include are used in build commands
installopts = "--global-option=build_ext --global-option='--disable-platform-guessing' "

use_pip = True
sanity_pip_check = True

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,15 @@ dependencies = [
]

download_dep_fail = True

# If we have a sysroot, make sure it is picked up
# (should not affect non-sysroot as the template is empty in this scenario)
preinstallopts = "export CPATH=$CPATH:%(sysroot)s/usr/include && "
preinstallopts += "export LIBRARY_PATH=$LIBRARY_PATH:%(sysroot)s/usr/lib:%(sysroot)s/usr/lib64 && "

# avoid that hardcoded paths like /usr/include are used in build commands
installopts = "--global-option=build_ext --global-option='--disable-platform-guessing' "

use_pip = True
sanity_pip_check = True

Expand Down
7 changes: 7 additions & 0 deletions easybuild/easyconfigs/p/Pillow/Pillow-8.0.1-GCCcore-10.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,15 @@ dependencies = [
]

download_dep_fail = True

# If we have a sysroot, make sure it is picked up
# (should not affect non-sysroot as the template is empty in this scenario)
preinstallopts = "export CPATH=$CPATH:%(sysroot)s/usr/include && "
preinstallopts += "export LIBRARY_PATH=$LIBRARY_PATH:%(sysroot)s/usr/lib:%(sysroot)s/usr/lib64 && "

# avoid that hardcoded paths like /usr/include are used in build commands
installopts = "--global-option=build_ext --global-option='--disable-platform-guessing' "

use_pip = True
sanity_pip_check = True

Expand Down
7 changes: 7 additions & 0 deletions easybuild/easyconfigs/p/Pillow/Pillow-8.2.0-GCCcore-10.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,15 @@ dependencies = [
]

download_dep_fail = True

# If we have a sysroot, make sure it is picked up
# (should not affect non-sysroot as the template is empty in this scenario)
preinstallopts = "export CPATH=$CPATH:%(sysroot)s/usr/include && "
preinstallopts += "export LIBRARY_PATH=$LIBRARY_PATH:%(sysroot)s/usr/lib:%(sysroot)s/usr/lib64 && "

# avoid that hardcoded paths like /usr/include are used in build commands
installopts = "--global-option=build_ext --global-option='--disable-platform-guessing' "

use_pip = True
sanity_pip_check = True

Expand Down
7 changes: 7 additions & 0 deletions easybuild/easyconfigs/p/Pillow/Pillow-8.3.1-GCCcore-11.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,15 @@ dependencies = [
]

download_dep_fail = True

# If we have a sysroot, make sure it is picked up
# (should not affect non-sysroot as the template is empty in this scenario)
preinstallopts = "export CPATH=$CPATH:%(sysroot)s/usr/include && "
preinstallopts += "export LIBRARY_PATH=$LIBRARY_PATH:%(sysroot)s/usr/lib:%(sysroot)s/usr/lib64 && "

# avoid that hardcoded paths like /usr/include are used in build commands
installopts = "--global-option=build_ext --global-option='--disable-platform-guessing' "

use_pip = True
sanity_pip_check = True

Expand Down
7 changes: 7 additions & 0 deletions easybuild/easyconfigs/p/Pillow/Pillow-8.3.2-GCCcore-11.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,15 @@ dependencies = [
]

download_dep_fail = True

# If we have a sysroot, make sure it is picked up
# (should not affect non-sysroot as the template is empty in this scenario)
preinstallopts = "export CPATH=$CPATH:%(sysroot)s/usr/include && "
preinstallopts += "export LIBRARY_PATH=$LIBRARY_PATH:%(sysroot)s/usr/lib:%(sysroot)s/usr/lib64 && "

# avoid that hardcoded paths like /usr/include are used in build commands
installopts = "--global-option=build_ext --global-option='--disable-platform-guessing' "

use_pip = True
sanity_pip_check = True

Expand Down
7 changes: 7 additions & 0 deletions easybuild/easyconfigs/p/Pillow/Pillow-9.1.0-GCCcore-10.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,15 @@ dependencies = [
]

download_dep_fail = True

# If we have a sysroot, make sure it is picked up
# (should not affect non-sysroot as the template is empty in this scenario)
preinstallopts = "export CPATH=$CPATH:%(sysroot)s/usr/include && "
preinstallopts += "export LIBRARY_PATH=$LIBRARY_PATH:%(sysroot)s/usr/lib:%(sysroot)s/usr/lib64 && "

# avoid that hardcoded paths like /usr/include are used in build commands
installopts = "--global-option=build_ext --global-option='--disable-platform-guessing' "

use_pip = True
sanity_pip_check = True

Expand Down
7 changes: 7 additions & 0 deletions easybuild/easyconfigs/p/Pillow/Pillow-9.1.1-GCCcore-11.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,15 @@ dependencies = [
]

download_dep_fail = True

# If we have a sysroot, make sure it is picked up
# (should not affect non-sysroot as the template is empty in this scenario)
preinstallopts = "export CPATH=$CPATH:%(sysroot)s/usr/include && "
preinstallopts += "export LIBRARY_PATH=$LIBRARY_PATH:%(sysroot)s/usr/lib:%(sysroot)s/usr/lib64 && "

# avoid that hardcoded paths like /usr/include are used in build commands
installopts = "--global-option=build_ext --global-option='--disable-platform-guessing' "

use_pip = True
sanity_pip_check = True

Expand Down
7 changes: 7 additions & 0 deletions easybuild/easyconfigs/p/Pillow/Pillow-9.1.1-GCCcore-11.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,15 @@ dependencies = [
]

download_dep_fail = True

# If we have a sysroot, make sure it is picked up
# (should not affect non-sysroot as the template is empty in this scenario)
preinstallopts = "export CPATH=$CPATH:%(sysroot)s/usr/include && "
preinstallopts += "export LIBRARY_PATH=$LIBRARY_PATH:%(sysroot)s/usr/lib:%(sysroot)s/usr/lib64 && "

# avoid that hardcoded paths like /usr/include are used in build commands
installopts = "--global-option=build_ext --global-option='--disable-platform-guessing' "

use_pip = True
sanity_pip_check = True

Expand Down
7 changes: 7 additions & 0 deletions easybuild/easyconfigs/p/Pillow/Pillow-9.2.0-GCCcore-10.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,15 @@ dependencies = [
]

download_dep_fail = True

# If we have a sysroot, make sure it is picked up
# (should not affect non-sysroot as the template is empty in this scenario)
preinstallopts = "export CPATH=$CPATH:%(sysroot)s/usr/include && "
preinstallopts += "export LIBRARY_PATH=$LIBRARY_PATH:%(sysroot)s/usr/lib:%(sysroot)s/usr/lib64 && "

# avoid that hardcoded paths like /usr/include are used in build commands
installopts = "--global-option=build_ext --global-option='--disable-platform-guessing' "

use_pip = True
sanity_pip_check = True

Expand Down
7 changes: 7 additions & 0 deletions easybuild/easyconfigs/p/Pillow/Pillow-9.4.0-GCCcore-12.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,15 @@ dependencies = [
]

download_dep_fail = True

# If we have a sysroot, make sure it is picked up
# (should not affect non-sysroot as the template is empty in this scenario)
preinstallopts = "export CPATH=$CPATH:%(sysroot)s/usr/include && "
preinstallopts += "export LIBRARY_PATH=$LIBRARY_PATH:%(sysroot)s/usr/lib:%(sysroot)s/usr/lib64 && "

# avoid that hardcoded paths like /usr/include are used in build commands
installopts = "--global-option=build_ext --global-option='--disable-platform-guessing' "

use_pip = True
sanity_pip_check = True

Expand Down

0 comments on commit 1ae8ca7

Please sign in to comment.