Skip to content

Update build environment to the current DUNE UPS product stack - #302

Open
SFBayLaser wants to merge 1 commit into
mainfrom
build-env-package-versions
Open

Update build environment to the current DUNE UPS product stack#302
SFBayLaser wants to merge 1 commit into
mainfrom
build-env-package-versions

Conversation

@SFBayLaser

Copy link
Copy Markdown
Member

setup.sh was still pinning the old e15/e20-qualifier product versions (root v6_12_06a, clhep v2_4_4_1, edepsim v3_2_0, cmake v3_17_3), which are no longer available/standard in the collaboration's current build container.

Changed: setup.sh now sets up the current e26-qualifier stack (root v6_28_12, clhep v2_4_7_1, edepsim v3_2_0e, cmake v3_9_5), and PATH/LD_LIBRARY_PATH point at TMS_DIR/linux/{bin,lib} to match the current CMake build's output layout. CMakeLists.txt/app/CMakeLists.txt/src/CMakeLists.txt link ROOT::EG explicitly where needed, since the newer ROOT/CMake config no longer pulls it in implicitly.

Independent of the real-data restructuring PR stack (#298-#301) -- these are environment fixes only, no source changes.

The e15/e20-qualifier product versions setup.sh pinned (root v6_12_06a,
clhep v2_4_4_1, edepsim v3_2_0, cmake v3_17_3) are no longer the
collaboration's standard container -- move to the e26-qualifier stack
(root v6_28_12, clhep v2_4_7_1, edepsim v3_2_0e) and the matching
cmake v3_9_5 available there. Also:
- link ROOT::EG explicitly (both top-level find_package and the two
  targets that need it), since newer ROOT/CMake config no longer pulls
  it in implicitly the way root-config --evelibs does for the plain
  Makefile build.
- point PATH/LD_LIBRARY_PATH at TMS_DIR/linux/{bin,lib}, matching the
  platform-scoped output layout the current CMake build produces.
@SFBayLaser

Copy link
Copy Markdown
Member Author

Was intending this to go along with PRs 298-301...

@jdkio jdkio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The README should match the installation directory used by setup.sh. Right now it uses ../Linux, with a capital L.

cmake -DCMAKE_INSTALL_PREFIX=../linux ../

Other than that, I checked and it fully compiles using make

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants