mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
Try fix of NCrystal install
This commit is contained in:
parent
b9a1fd5624
commit
d7ab491f47
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ make install
|
|||
cat <<EOF > ./findncrystallib.py
|
||||
import pathlib
|
||||
libname = pathlib.Path('./cfg_ncrystal_libname.txt').read_text().strip()
|
||||
libs = list(pathlib.Path("/usr").glob("**/lib*/**/%s"%libname))
|
||||
libs = list(pathlib.Path("${INST_DIR}").glob("**/lib*/**/%s"%libname))
|
||||
assert len(libs)==1
|
||||
pathlib.Path('ncrystal_liblocation.txt').write_text(str(libs[0]))
|
||||
EOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue