You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
netcdf: Enable CDF5 support for arm64
Closes: https://trac.macports.org/ticket/74074
This commit is contained in:
committed by
Renee Otten
parent
a5b26d700b
commit
e71a324a83
+10
-5
@@ -12,7 +12,7 @@ legacysupport.newest_darwin_requires_legacy 10
|
||||
|
||||
epoch 3
|
||||
github.setup Unidata netcdf-c 4.10.0 v
|
||||
revision 2
|
||||
revision 3
|
||||
name netcdf
|
||||
maintainers {takeshi @tenomoto} openmaintainer
|
||||
categories science
|
||||
@@ -56,13 +56,18 @@ compiler.blacklist-append *gcc-4.* {clang < 400}
|
||||
test.run yes
|
||||
test.target test
|
||||
|
||||
default_variants +netcdf4 +dap
|
||||
if {(!${universal_possible} || ![variant_isset universal]) && (${build_arch} == "x86_64" || ${build_arch} == "ppc64")} {
|
||||
default_variants-append +cdf5
|
||||
default_variants +netcdf4 +dap
|
||||
if {(!${universal_possible}
|
||||
|| ![variant_isset universal])
|
||||
&& ( ${build_arch} == "x86_64"
|
||||
|| ${build_arch} == "ppc64"
|
||||
|| ${build_arch} == "arm64")
|
||||
} {
|
||||
default_variants-append +cdf5
|
||||
}
|
||||
|
||||
if {[variant_isset netcdf4]} {
|
||||
mpi.enforce_variant hdf5
|
||||
mpi.enforce_variant hdf5
|
||||
}
|
||||
|
||||
variant netcdf4 description {enable support for netcdf-4 API} {
|
||||
|
||||
Reference in New Issue
Block a user