Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Replace manual git clone and cmake build of NCrystal with pip install
  • Loading branch information
tkittel committed Feb 11, 2025
commit c4657fbb64317ac8a576644c254a2dbc968533d9
46 changes: 0 additions & 46 deletions tools/ci/gha-install-ncrystal.sh

This file was deleted.

2 changes: 0 additions & 2 deletions tools/ci/gha-install.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ def install(omp=False, mpi=False, phdf5=False, dagmc=False, libmesh=False, ncrys

if ncrystal:
cmake_cmd.append('-DOPENMC_USE_NCRYSTAL=ON')
ncrystal_path = os.environ.get('HOME') + '/ncrystal_inst'
cmake_cmd.append(f'-DCMAKE_PREFIX_PATH={ncrystal_path}')

# Build in coverage mode for coverage testing
cmake_cmd.append('-DOPENMC_ENABLE_COVERAGE=on')
Expand Down
4 changes: 3 additions & 1 deletion tools/ci/gha-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ fi

# Install NCrystal if needed
if [[ $NCRYSTAL = 'y' ]]; then
./tools/ci/gha-install-ncrystal.sh
pip install ncrystal
#Basic verification:
nctool --test
fi

# Install vectfit for WMP generation if needed
Expand Down
2 changes: 0 additions & 2 deletions tools/ci/gha-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ fi

# Check NCrystal installation
if [[ $NCRYSTAL = 'y' ]]; then
# Change environmental variables
eval $( "${HOME}/ncrystal_inst/bin/ncrystal-config" --setup )
nctool --test
fi

Expand Down