Skip to content

Commit

Permalink
Always apply Python unixcompilers.py rpath fix, not just on cray (s…
Browse files Browse the repository at this point in the history
…pack#39929)

* Rename var/spack/repos/builtin/packages/python/cray-rpath-3.1.patch as var/spack/repos/builtin/packages/python/rpath-non-gcc.patch and apply unconditionally

* Update var/spack/repos/builtin/packages/python/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
  • Loading branch information
2 people authored and AdhocMan committed Oct 9, 2023
1 parent cc21a80 commit 1796a02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions var/spack/repos/builtin/packages/python/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,8 @@ class Python(Package):
patch("tkinter-3.10.patch", when="@3.10.0:3.10 ~tkinter")
patch("tkinter-3.11.patch", when="@3.11.0:3.11 ~tkinter")

# Ensure that distutils chooses correct compiler option for RPATH on cray:
patch("cray-rpath-3.1.patch", when="@3 platform=cray")
# Ensure that distutils chooses correct compiler option for RPATH:
patch("rpath-non-gcc.patch", when="@:3.11")

# Ensure that distutils chooses correct compiler option for RPATH on fj:
patch("fj-rpath-3.1.patch", when="@:3.9.7,3.10.0 %fj")
Expand Down

0 comments on commit 1796a02

Please sign in to comment.