forked from t-weber/takin2
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d2276c0
commit 068162a
Showing
17 changed files
with
85 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
The user documentation has moved to here: | ||
https://code.ill.fr/scientific-software/takin/core/-/wikis/home | ||
The user documentation has moved to: | ||
https://github.com/ILLGrenoble/takin/wiki |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
# @author Tobias Weber <[email protected]>, Jens Krüger | ||
# @date 3 february 2023 | ||
# @license GPLv2 | ||
# @note based on the mkdeb_jammy.sh script | ||
# | ||
# ---------------------------------------------------------------------------- | ||
# Takin (inelastic neutron scattering software package) | ||
|
@@ -93,7 +94,6 @@ cp -v bin/takinmod_py ${INSTDIR}/usr/local/bin | |
cp -v bin/takinmod_jl ${INSTDIR}/usr/local/bin | ||
|
||
cp -rv res/* ${INSTDIR}/usr/local/share/takin/res/ | ||
cp -rv doc/* ${INSTDIR}/usr/local/share/takin/res/doc/ | ||
cp -v *.txt ${INSTDIR}/usr/local/share/takin | ||
cp -rv 3rdparty_licenses/* ${INSTDIR}/usr/local/share/takin/3rdparty_licenses/ | ||
cp -v setup_lin/takin.desktop ${INSTDIR}/usr/share/applications | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
# | ||
# creates a DEB distro | ||
# @author Tobias Weber <[email protected]> | ||
# @date july 2022 | ||
# @license GPLv2 | ||
# | ||
# ---------------------------------------------------------------------------- | ||
|
@@ -93,7 +94,6 @@ cp -v bin/takinmod_py ${INSTDIR}/usr/local/bin | |
cp -v bin/takinmod_jl ${INSTDIR}/usr/local/bin | ||
|
||
cp -rv res/* ${INSTDIR}/usr/local/share/takin/res/ | ||
cp -rv doc/* ${INSTDIR}/usr/local/share/takin/res/doc/ | ||
cp -v *.txt ${INSTDIR}/usr/local/share/takin | ||
cp -rv 3rdparty_licenses/* ${INSTDIR}/usr/local/share/takin/3rdparty_licenses/ | ||
cp -v setup_lin/takin.desktop ${INSTDIR}/usr/share/applications | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
# @author Tobias Weber <[email protected]>, Jens Krüger | ||
# @date 3 february 2023 | ||
# @license GPLv2 | ||
# @note based on the build_jammy.sh script | ||
# | ||
# ---------------------------------------------------------------------------- | ||
# Takin (inelastic neutron scattering software package) | ||
|
@@ -34,12 +35,28 @@ setup_externals2=1 | |
build_externals=1 | ||
build_takin=1 | ||
build_takin2=1 | ||
build_plugins=0 | ||
build_package=1 | ||
|
||
|
||
NUM_CORES=$(nproc) | ||
|
||
|
||
# parse command-line options | ||
for((arg_idx=1; arg_idx<=$#; ++arg_idx)); do | ||
arg="${!arg_idx}" | ||
# look for argument identifier | ||
if [[ "$arg" =~ [_A-Za-z][_A-Za-z0-9]* ]]; then | ||
# get the argument's parameter | ||
param_idx=$((arg_idx+1)) | ||
param="${!param_idx}" | ||
|
||
# set the argument to the given parameter | ||
export $arg=${param} | ||
fi | ||
done | ||
|
||
|
||
# get root dir of takin repos | ||
TAKIN_ROOT=$(dirname $0)/../.. | ||
cd "${TAKIN_ROOT}" | ||
|
@@ -137,6 +154,24 @@ if [ $build_takin2 -ne 0 ]; then | |
fi | ||
|
||
|
||
if [ $build_plugins -ne 0 ]; then | ||
echo -e "\n================================================================================" | ||
echo -e "Building Takin plugins..." | ||
echo -e "================================================================================\n" | ||
|
||
pushd "${TAKIN_ROOT}/magnon-plugin" | ||
rm -rf build | ||
mkdir -p build | ||
cd build | ||
cmake -DCMAKE_BUILD_TYPE=Release .. | ||
make -j${NUM_CORES} | ||
|
||
# copy plugin to Takin main dir | ||
cp -v libmagnonmod.so "${TAKIN_ROOT}"/core/plugins/ | ||
popd | ||
fi | ||
|
||
|
||
if [ $build_package -ne 0 ]; then | ||
echo -e "\n================================================================================" | ||
echo -e "Building Takin package..." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/bash | ||
# | ||
# checkout all of takin's repos | ||
# checkout all of takin's development repos | ||
# @author Tobias Weber <[email protected]> | ||
# @date jul-20 | ||
# @license GPLv2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters