Skip to content

Commit

Permalink
remove source_dir option in build_tsmp2.sh, README typ-o
Browse files Browse the repository at this point in the history
- take cmake_tsmp2_dir as cmake source directory
  • Loading branch information
s-poll committed Sep 12, 2024
1 parent ffb75f2 commit 33ef15b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Quickstart

> [!TIP]
> `build_tsmp2.sh` is a lightweighted shell-script calling the cmake-based build-system. During execution of `build_tsmp2.sh`, the executed CMake-command is printed out. For advanced build use-cases, users can modify the outputed CMake command or directly head over to [Building TSMP2 with CMake](#Building-TSMP2-with-CMake).
> `build_tsmp2.sh` is a lightweight shell-script calling the CMake-based build-system. During execution of `build_tsmp2.sh`, the executed CMake-command is printed out. For advanced build use-cases, users can modify the outputed CMake command or directly head over to [Building TSMP2 with CMake](#Building-TSMP2-with-CMake).
1. Clone this repository.

Expand Down
2 changes: 0 additions & 2 deletions build_tsmp2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ function help_tsmp2() {
echo " --PDAF_SRC Set PDAF_SRC directory"
echo " --build_config Set build configuration: 'Debug' 'Release'"
echo " --compiler Set compiler for building"
echo " --source_dir Set source dir of cmake"
echo " --build_dir Set build dir cmake, if not set bld/<SYSTEMNAME>_<model-id> is used. Build artifacts will be generated in this folder."
echo " --install_dir Set install dir cmake, if not set bin/<SYSTEMNAME>_<model-id> is used. Model executables and libraries will be installed here"
echo " --tsmp2_env Set model environment."
Expand Down Expand Up @@ -118,7 +117,6 @@ while [[ "$#" -gt 0 ]]; do
--build_config) build_config="$2"; shift ;;
--compiler) compiler="$2"; shift ;;
--build_dir) build_dir="$2"; shift ;;
--source_dir) source_dir="$2"; shift ;;
--install_dir) install_dir="$2"; shift ;;
--tsmp2_env) tsmp2_env="$2"; shift ;;
*) echo "Unknown parameter passed: $1"; exit 1 ;;
Expand Down

0 comments on commit 33ef15b

Please sign in to comment.