spack/var/spack/repos/builtin/packages/xios/bld_extern_1.0.patch
Milton Woods 70d589a14e xios: I/O management for climate models (#6796)
* xios: XML-IO-SERVER library for IO management of climate models

* xios: install to prefix directory

* xios: add a test case

* xios: define versions to use cache and mirror directories

* xios: use proper svn URL for version 910

* xios: package url must be defined, otherwise uninstall fails

* xios: add trunk version to allow building latest revision

* xios: enable parallel build

* xios: allow installation with mpif90 compiler wrappers

* xios: use mpi variants of dependencies

* xios: allow user to specify MPI launcher via MPIRUN environment variable

* xios: prefer spack versions of blitz and boost (needed for gcc@7)

* xios: enable builds with clang+gfortran on OSX

* xios: use numeric versions for releases, @develop for trunk

* xios: different patches required for @1.0 and @develop

* xios: patch function for clang works across revisions

* xios: link blitz library

* xios: workaround bug 17782 in llvm

* xios: whitespace adjustments for flake8

* xios: avoid bare except clause

* xios: netcdf-fortran inherits ^netcdf+mpi from xios dependencies
2018-01-04 08:58:24 -06:00

28 lines
1.2 KiB
Diff

--- a/bld.cfg 2017-12-23 11:41:14.000000000 +1100
+++ b/bld.cfg 2017-12-23 15:34:53.914024629 +1100
@@ -24,9 +24,6 @@
search_src true
src::zzz .
-src::date $PWD/extern/boost/src/date_time
-src::blitz $PWD/extern/blitz/src
-src::netcdf $PWD/extern/netcdf4
bld::lib xios
bld::target libxios.a
#bld::target generate_fortran_interface.exe
@@ -37,11 +34,11 @@
bld::tool::fc %FCOMPILER
bld::tool::fpp %FPP
bld::tool::cpp %CPP
-bld::tool::cppflags %CBASE_INC -I${PWD}/extern/src_netcdf -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include -I${PWD}/extern/blitz/include
-bld::tool::fppflags %BASE_INC -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include
+bld::tool::cppflags %CBASE_INC -I${PWD}/extern/rapidxml/include
+bld::tool::fppflags %BASE_INC -I${PWD}/extern/rapidxml/include
bld::tool::ld %LINKER
bld::tool::ldflags %LD_FLAGS
-bld::tool::cflags %CFLAGS %CBASE_INC -I${PWD}/extern/src_netcdf -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include -I${PWD}/extern/blitz/include
+bld::tool::cflags %CFLAGS %CBASE_INC -I${PWD}/extern/rapidxml/include
bld::tool::fflags %FFLAGS %FBASE_INC
bld::tool::cppkeys %CPP_KEY
bld::tool::fppkeys %CPP_KEY