Skip to content

Make lb-dev working with master

@clemenci @gcorti @adavis

Once with the new cmake, it would be really good to have the lb-dev working with the satellite projects. I think that the problem is known, but I create this issue in order not to forget about this problem 😀

Problems

I see 2 things that need fixing:

  • the environment does not set up correctly LAYER_7,
  • cmake complains that it cannot find Fortran with an error:
CMake Error: Could not find cmake module file: CMakeDetermineFORTRANCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_FORTRAN_COMPILER_ENV_VAR

Commands to reproduce

lb-set-platform x86_64_v2-centos7-gcc11-opt
lb-dev --nightly lhcb-gauss-dev Gauss/HEAD
cd ./GaussDev_HEAD
git lb-use Gauss
git lb-checkout Gauss/master Sim/GaussPhysics
make
Edited by Marco Clemencic