summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorsnehring <7978778+snehring@users.noreply.github.com>2023-09-25 14:19:25 -0500
committerGitHub <noreply@github.com>2023-09-25 12:19:25 -0700
commit2a66a6713262087ed2fb0fe26acfcf690c6a6081 (patch)
tree18e0d5f36c162eadea40e71bb3e37f74bd3db544 /var
parent10fd69ec74e784f9013520b8d942fbcb36b41472 (diff)
downloadspack-2a66a6713262087ed2fb0fe26acfcf690c6a6081.tar.gz
spack-2a66a6713262087ed2fb0fe26acfcf690c6a6081.tar.bz2
spack-2a66a6713262087ed2fb0fe26acfcf690c6a6081.tar.xz
spack-2a66a6713262087ed2fb0fe26acfcf690c6a6081.zip
subread: removing mtune arg to compiler (#40197)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/subread/package.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/subread/package.py b/var/spack/repos/builtin/packages/subread/package.py
index efff79a4f8..ae63d69d02 100644
--- a/var/spack/repos/builtin/packages/subread/package.py
+++ b/var/spack/repos/builtin/packages/subread/package.py
@@ -14,6 +14,7 @@ class Subread(MakefilePackage):
homepage = "https://subread.sourceforge.net/"
url = "https://sourceforge.net/projects/subread/files/subread-1.5.2/subread-1.5.2-source.tar.gz/download"
+ maintainers("snehring")
version("2.0.6", sha256="f0fdda6b98634d2946028948c220253e10a0f27c7fa5f24913b65b3ac6cbb045")
version("2.0.4", sha256="c54b37ed83b34318d8f119b5c02fb9d0a65c811195bcc9e1745df6daf74ca2db")
@@ -31,12 +32,11 @@ class Subread(MakefilePackage):
with working_dir("src"):
if plat.startswith("linux"):
filter_file("CC_EXEC = gcc", "CC_EXEC = {0}".format(spack_cc), "Makefile.Linux")
- if spec.target.family == "aarch64":
- filter_file("-mtune=core2", "", "Makefile.Linux")
- if spec.satisfies("@1.6.2:2.0.0"):
- filter_file("-mtune=core2", "", "longread-one/Makefile")
- elif spec.satisfies("@1.6.0"):
- filter_file("-mtune=core2", "", "longread-mapping/Makefile")
+ filter_file("-mtune=core2", "", "Makefile.Linux")
+ if spec.satisfies("@1.6.2:"):
+ filter_file("-mtune=core2", "", "longread-one/Makefile")
+ if spec.satisfies("@1.6.0"):
+ filter_file("-mtune=core2", "", "longread-mapping/Makefile")
make("-f", "Makefile.Linux")
elif plat.startswith("darwin"):
make("-f", "Makefile.MacOS")