@@ -35,6 +35,9 @@ depends_lib port:cfitsio \
35
35
port:udunits2 \
36
36
port:xercesc3
37
37
38
+ # xercesc3 requires C++11; notice that eigen3-devel needs C++14.
39
+ compiler.cxx_standard 2011
40
+
38
41
configure.args --without-yorick \
39
42
--with-lorene=${prefix} /lib/lorene \
40
43
--with-xerces \
@@ -132,11 +135,9 @@ subport Gyoto {
132
135
}
133
136
}
134
137
135
- if {[string match libc++ ${configure.cxx_stdlib} ]} {
136
-
137
- compilers.enforce_c [boost::depends_portname]
138
+ compilers.enforce_c [boost::depends_portname]
138
139
139
- variant openmpi conflicts mpich \
140
+ variant openmpi conflicts mpich \
140
141
description {Add MPI parallelization using OpenMPI} {
141
142
set c_variant [c_variant_name]
142
143
if {${c_variant} == " " } {
@@ -157,12 +158,12 @@ if {[string match libc++ ${configure.cxx_stdlib}]} {
157
158
build.args-delete CC=" ${configure.cc} "
158
159
build.args-append CC=" mpicc-openmpi-${mpi_suffix} "
159
160
notes "
160
- For multi-processing, wrap gyoto in mpirun-openmpi-${mpi_suffix} , e.g.:
161
- $ mpirun-openmpi-${mpi_suffix} gyoto -P4 in.xml out.fits
162
- "
163
- }
161
+ For multi-processing, wrap gyoto in mpirun-openmpi-${mpi_suffix} , e.g.:
162
+ $ mpirun-openmpi-${mpi_suffix} gyoto -P4 in.xml out.fits
163
+ "
164
+ }
164
165
165
- variant mpich conflicts openmpi \
166
+ variant mpich conflicts openmpi \
166
167
description {Add MPI parallelization using MPICH} {
167
168
set c_variant [c_variant_name]
168
169
if {${c_variant} == " " } {
@@ -183,13 +184,9 @@ For multi-processing, wrap gyoto in mpirun-openmpi-${mpi_suffix}, e.g.:
183
184
build.args-delete CC=" ${configure.cc} "
184
185
build.args-append CC=" mpicc-mpich-${mpi_suffix} "
185
186
notes "
186
- +-- Gyoto Usage note ------------------------------------------------------
187
- | For multi-processing, wrap gyoto in mpirun-mpich-${mpi_suffix} , e.g.:
188
- | $ mpirun-mpich-${mpi_suffix} gyoto -P4 in.xml out.fits
189
- +--------------------------------------------------------------------------
190
- "
191
- }
192
-
193
- } else {
194
- configure.args-append --disable-c++11
187
+ +-- Gyoto Usage note ------------------------------------------------------
188
+ | For multi-processing, wrap gyoto in mpirun-mpich-${mpi_suffix} , e.g.:
189
+ | $ mpirun-mpich-${mpi_suffix} gyoto -P4 in.xml out.fits
190
+ +--------------------------------------------------------------------------
191
+ "
195
192
}
0 commit comments