1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup languages 1.0 |
---|
5 | |
---|
6 | name blas |
---|
7 | version 3.7.1 |
---|
8 | categories math devel science |
---|
9 | platforms darwin |
---|
10 | license BSD |
---|
11 | maintainers nomaintainer |
---|
12 | description BLAS Routines |
---|
13 | long_description BLAS Routines |
---|
14 | |
---|
15 | homepage http://www.netlib.org/${name}/ |
---|
16 | master_sites ${homepage} |
---|
17 | |
---|
18 | checksums rmd160 7f133b65294eef68e052acab1e339a6690be8af6 \ |
---|
19 | sha256 c5a654351f0b046a502bf04b16740b9ab49c7d8512d6d57ad3a64184c8e575c3 |
---|
20 | extract.suffix .tgz |
---|
21 | |
---|
22 | use_configure no |
---|
23 | |
---|
24 | #compiler.openmp_version 2.5 |
---|
25 | compiler.require_fortran yes |
---|
26 | |
---|
27 | #default_variants-append +openmpi |
---|
28 | #default_variants-append +gfortran |
---|
29 | |
---|
30 | compiler.require_fortran yes |
---|
31 | |
---|
32 | variant mpich conflicts openmpi {} |
---|
33 | if {[variant_isset mpich]} { |
---|
34 | compiler.mpi mpich |
---|
35 | } |
---|
36 | |
---|
37 | variant openmpi conflicts mpich {} |
---|
38 | if {[variant_isset openmpi]} { |
---|
39 | compiler.mpi openmpi |
---|
40 | } |
---|
41 | |
---|
42 | variant gcc7 conflicts gfortran {} |
---|
43 | if {[variant_isset gcc7]} { |
---|
44 | compiler.whitelist macports-gcc-7 macports-mpich-gcc-7 macports-openmpi-gcc-7 |
---|
45 | } |
---|
46 | |
---|
47 | variant gfortran conflicts gcc7 {} |
---|
48 | if {[variant_isset gfortran]} { |
---|
49 | compiler.fortran_fallback macports-gcc-7 macports-mpich-gcc-7 macports-openmpi-gcc-7 |
---|
50 | } |
---|
51 | |
---|
52 | ui_msg "------------------------------------------------------------------" |
---|
53 | #ui_msg ${compiler.fallback} |
---|
54 | #ui_msg ${compiler.fortran_fallback} |
---|
55 | ui_msg ${configure.cxx} |
---|
56 | ui_msg ${configure.cc} |
---|
57 | ui_msg ${configure.cpp} |
---|
58 | ui_msg ${configure.fc} |
---|
59 | #ui_msg ${configure.cc_archflags} |
---|
60 | #ui_msg ${configure.cxx_archflags} |
---|
61 | #ui_msg ${configure.fc_archflags} |
---|
62 | #ui_msg ${configure.ld_archflags} |
---|
63 | #ui_msg "" |
---|
64 | #ui_msg "" |
---|
65 | #ui_msg [portconfigure::get_valid_compilers] |
---|
66 | #ui_msg "" |
---|
67 | #ui_msg [portconfigure::get_valid_compilers yes] |
---|
68 | ui_msg "------------------------------------------------------------------" |
---|
69 | |
---|
70 | build.args-append \ |
---|
71 | FORTRAN=${configure.f77} |
---|