From 2a66a6713262087ed2fb0fe26acfcf690c6a6081 Mon Sep 17 00:00:00 2001 From: snehring <7978778+snehring@users.noreply.github.com> Date: Mon, 25 Sep 2023 14:19:25 -0500 Subject: subread: removing mtune arg to compiler (#40197) --- var/spack/repos/builtin/packages/subread/package.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'var') 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") -- cgit v1.2.3-60-g2f50