[QE-developers] Fails to use submodules

Yuri yuri at FreeBSD.org
Mon Jan 10 10:37:21 CET 2022


The project has submodules, but cmake still re-clones them despite files 
being already there.

-- Installing FoX via submodule
-- Cloning https://github.com/pietrodelugas/fox.git into 
/disk-samsung/freebsd-ports/science/quantum-espresso/work/q-e-qe-7.0/external/fox.
hint: Using 'master' as the name for the initial branch. This default 
branch name
hint: is subject to change. To configure the initial branch name to use 
in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:     git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this 
command:
hint:
hint:     git branch -m <name>
Initialized empty Git repository in 
/disk-samsung/freebsd-ports/science/quantum-espresso/work/q-e-qe-7.0/external/fox/.git/

-- Cloning https://github.com/wannier-developers/wannier90.git into 
/disk-samsung/freebsd-ports/science/quantum-espresso/work/q-e-qe-7.0/external/wannier90.
hint: Using 'master' as the name for the initial branch. This default 
branch name
hint: is subject to change. To configure the initial branch name to use 
in all
hint: of your new repositories, which will suppress this warning, call:
hint:


Expected behavior: cloned submodules should be used when present, 
otherwise it should attempt to use pre-installed packages.


Thanks,

Yuri




More information about the developers mailing list