QuaLiKiz does not handle partial build dependencies correctly
Opening here for visibility, but this seems to be a TUBS issue (https://gitlab.com/tci-dev/tubs)
QuaLiKiz does not handle partial builds (builds without make clean
) anymore. I think this is a TUBS issue. Will see if I can fix this easily, or otherwise escalate to TUBS dev team (ps. the TUBS-proto in tci/defs
has this problem too!). You can easily test this by doing a clean build first (git checkout master; git pull; git submodule update --init; make clean; make
)
Rebuilding (make
) just triggers a rebuild of qlk_tci_module.f90
and dependencies (forced by me for historic reasons, so expected). Touch something that other modules depend on. For example, touch src/calcroutines.f90
, should trigger rebuild of src/qualikiz.[m]o[d]
, as $(call LOCAL_mod_dep, src/qualikiz.f90, mod_make_io.mod calcroutines.mod mod_saturation.mod )
. This only rebuilds calcroutines.f90
, not qualikiz.f90
.
I've had users running into trouble (myself, @aaronkho, @cdstephens, @jon.citrin) already, so this needs to be fixed quickly.
Should also impact ETS (@parstrand) and JETTO (@francis.casson)
TODO:
- See if it's just a
*.mod
and*.o
rule messing up. Thanks @daanvanvugt