salmon: patching to build with %gcc@13: (#38553)
Co-authored-by: LMS Bioinformatics <bioinformatics@lms.mrc.ac.uk>
This commit is contained in:
parent
12427c6974
commit
8861fe0294
1 changed files with 9 additions and 0 deletions
|
@ -85,6 +85,15 @@ class Salmon(CMakePackage):
|
|||
when="@{0}".format(ver),
|
||||
)
|
||||
|
||||
# `%gcc13:` requires `<cstdint>` to be manually included. Fixed upstream,
|
||||
# so we patch to allow building of previous salmon versions
|
||||
patch(
|
||||
"https://github.com/COMBINE-lab/salmon/commit/ffb2a11.patch?full_index=1",
|
||||
sha256="5ed3512bae665c1d72002911ab9ee6d213f10df63019ebd9e8e0ecde03823a73",
|
||||
when="@:1.10.1%gcc@13:",
|
||||
level=1,
|
||||
)
|
||||
|
||||
def patch(self):
|
||||
# remove static linking to libstdc++
|
||||
filter_file("-static-libstdc++", "", "CMakeLists.txt", string=True)
|
||||
|
|
Loading…
Reference in a new issue