source: branches/ORCHIDEE_2_2/ORCHIDEE/bld.cfg @ 5804

Last change on this file since 5804 was 5523, checked in by josefine.ghattas, 6 years ago

Changes related to the compilation:

  • Move variables CONFIG_PATH from bld.cfg to config.fcm (created in makeorchidee_fcm)
  • Removed dir::lib, dir::bin, dir::inc and dir::tmp from bld.cfg. This is done to be compatible with newer version V1.5 of FCM (the one used by XIOS). The lib and bin directories will not longer be created directly in the root ORCHIDEE directory. They are found in .config directory.
  • Created variables config_path pointing to .config directory in makeorchidee_fcm
File size: 2.3 KB
Line 
1# ----------------------- FCM extract configuration file -----------------------
2cfg::type                           bld
3cfg::version                        1.0
4
5
6# ------------------------------------------------------------------------------
7# Build information
8# ------------------------------------------------------------------------------
9
10
11inc arch.fcm
12inc config.fcm
13
14%ROOT_PATH         $PWD
15%SRC_PATH          %ROOT_PATH
16
17
18src::global       %SRC_PATH/src_global
19src::parallel     %SRC_PATH/src_parallel
20src::sechiba      %SRC_PATH/src_sechiba
21src::stomate      %SRC_PATH/src_stomate
22src::parameters   %SRC_PATH/src_parameters
23src::orchidee_ol  %SRC_PATH/src_driver
24src::orchoasis    %SRC_PATH/src_oasisdriver
25src::ext_src      %EXT_SRC
26
27bld::lib::global         orglob
28bld::lib::parallel       parallel
29bld::lib::sechiba        sechiba
30bld::lib::stomate        stomate
31bld::lib::parameters     parameters
32bld::lib::orchidee_ol    orchidee_ol
33bld::lib::orchoasis      orchoasis
34bld::lib                 orchidee
35
36bld::target              liborglob.a libparallel.a libsechiba.a libstomate.a libparameters.a liborchidee.a liborchoasis.a
37bld::target              %EXEC
38bld::exe_dep             ext_src global parallel sechiba stomate parameters orchidee_ol orchoasis
39
40dir::root            %CONFIG_PATH
41
42#search_src           1
43
44bld::tool::fc        %COMPILER 
45bld::tool::ld        %LINK
46bld::tool::ar        %AR
47bld::tool::make      %MAKE
48bld::tool::fflags    %FFLAGS %INCDIR
49bld::tool::ldflags   %LD_FFLAGS %LIBDIR -lioipsl -lnetcdf   
50
51bld::tool::cppflags  %FPP_FLAGS %INCDIR
52bld::tool::fppflags  %FPP_FLAGS %INCDIR
53bld::tool::fppkeys   %CPP_KEY
54
55
56# Pre-process code before analysing dependencies
57bld::pp              1
58infile_ext::f90 fpp::fpp9x::source
59
60# Ignore the following dependencies
61bld::excl_dep        inc::netcdf.inc
62bld::excl_dep        use::netcdf
63bld::excl_dep        h::netcdf.inc
64bld::excl_dep        h::mpif.h
65bld::excl_dep        inc::mpif.h
66bld::excl_dep        use::ioipsl
67bld::excl_dep        USE::defprec
68bld::excl_dep        USE::calendar
69bld::excl_dep        USE::xios
70bld::excl_dep        USE::mod_oasis
71
72# Don't generate interface files
73bld::tool::geninterface none
74
75# Allow ".inc" as an extension for CPP include files
76bld::infile_ext::inc  CPP::INCLUDE
77
78# extension for module output
79bld::outfile_ext::mod .mod
80bld::tool::SHELL   /bin/bash
Note: See TracBrowser for help on using the repository browser.