1 | 8a9 |
---|
2 | > revision 1 |
---|
3 | 25,28c26 |
---|
4 | < depends_lib port:hdf5-18 \ |
---|
5 | < port:py26-numpy \ |
---|
6 | < port:py26-matplotlib \ |
---|
7 | < port:py26-scipy |
---|
8 | --- |
---|
9 | > conflicts boost |
---|
10 | 30c28 |
---|
11 | < patchfiles patch-config-FindPython.cmake.diff |
---|
12 | --- |
---|
13 | > depends_lib port:hdf5-18 |
---|
14 | 37a36,39 |
---|
15 | > -DALPS_BUILD_APPLICATIONS=OFF \ |
---|
16 | > -DCMAKE_CXX_COMPILER=g++ \ |
---|
17 | > -DCMAKE_C_COMPILER=gcc \ |
---|
18 | > -DALPS_ENABLE_MPI=OFF \ |
---|
19 | 39a42,43 |
---|
20 | > livecheck.type none |
---|
21 | > |
---|
22 | 40a45,83 |
---|
23 | > |
---|
24 | > variant applications description {compile ALPS with appliations} { |
---|
25 | > configure.args-delete -DALPS_BUILD_APPLICATIONS=OFF |
---|
26 | > } |
---|
27 | > |
---|
28 | > variant openmpi description {Build with MPI support} { |
---|
29 | > depends_lib-append port:openmpi |
---|
30 | > configure.args-delete -DALPS_ENABLE_MPI=OFF |
---|
31 | > } |
---|
32 | > |
---|
33 | > set pythons_suffixes {25 26 27} |
---|
34 | > set pythons_ports {} |
---|
35 | > foreach s ${pythons_suffixes} { |
---|
36 | > lappend pythons_ports python${s} |
---|
37 | > } |
---|
38 | > foreach s ${pythons_suffixes} { |
---|
39 | > set p python${s} |
---|
40 | > set v [string index ${s} 0].[string index ${s} 1] |
---|
41 | > set i [lsearch -exact ${pythons_ports} ${p}] |
---|
42 | > set c [lreplace ${pythons_ports} ${i} ${i}] |
---|
43 | > eval [subst { |
---|
44 | > variant ${p} description "Build ALPS for Python ${v}" conflicts ${c} { |
---|
45 | > depends_lib-append port:${p} \ |
---|
46 | > port:py${s}-numpy \ |
---|
47 | > port:py${s}-matplotlib \ |
---|
48 | > port:py${s}-scipy |
---|
49 | > patchfiles-append patch-${s}-config-FindPython.cmake.diff |
---|
50 | > } |
---|
51 | > }] |
---|
52 | > } |
---|
53 | > |
---|
54 | > set selected_version python27 |
---|
55 | > foreach s ${pythons_suffixes} { |
---|
56 | > if {[variant_isset python${s}]} { |
---|
57 | > set selected_version python${s} |
---|
58 | > } |
---|
59 | > } |
---|
60 | > |
---|
61 | > default_variants +${selected_version} +applications |
---|