-
Notifications
You must be signed in to change notification settings - Fork 19
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
fa574b6
commit 470d642
Showing
16 changed files
with
90 additions
and
116 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
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
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,22 +1,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
# setup system dependencies | ||
sudo apt update | ||
sudo apt install -y cmake pkg-config libgtk-3-dev libblas-dev liblapack-dev clang-11 clang-tidy-11 libstdc++-10-dev | ||
export CC=clang-11 | ||
export CXX=clang++-11 | ||
|
||
# install a newer cmake than the one supplied by apt | ||
sudo apt install -y libssl-dev # OpenSSL headers, for cmake | ||
wget https://github.com/Kitware/CMake/releases/download/v3.31.2/cmake-3.31.2.tar.gz | ||
tar xvf cmake-3.31.2.tar.gz | ||
cd cmake-3.31.2 | ||
./bootstrap | ||
make -j$(nproc) && sudo make install | ||
cd - | ||
|
||
export CLANG_TIDY=echo # clang-tidy-11 is screwed on ubuntu20.04 | ||
git clone --recurse-submodules https://github.com/ComputationalBiomechanicsLab/opensim-creator | ||
cd opensim-creator | ||
|
||
./scripts/build_linux_debugging.sh | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env bash | ||
|
||
# WSL2 on Ubuntu24: ln -sf /mnt/wslg/runtime-dir/wayland-* $XDG_RUNTIME_DIR/ | ||
|
||
./scripts/build_linux_debugging.sh | ||
|
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
Empty file.
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# `setup_emscripten.sh`: installs any necessary dependencies for | ||
# building OpenSim Creator via emscripten. | ||
|
||
set -xeuo pipefail | ||
# install emsdk | ||
if [ ! -d emsdk ]; then | ||
git clone https://github.com/emscripten-core/emsdk.git | ||
cd emsdk/ | ||
./emsdk install latest | ||
cd - | ||
fi | ||
|
||
# note: the caller should activate/source emsdk like this | ||
# ./emsdk/emsdk activate latest | ||
# source ./emsdk/emsdk_env.sh |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
# setup system dependencies | ||
sudo apt install -y cmake pkg-config libgtk-3-dev libblas-dev liblapack-dev clang-11 clang-tidy-11 libstdc++-10-dev | ||
|
||
# install a newer cmake than the one supplied by apt | ||
sudo apt install -y libssl-dev # OpenSSL headers, for cmake | ||
wget https://github.com/Kitware/CMake/releases/download/v3.31.2/cmake-3.31.2.tar.gz | ||
tar xvf cmake-3.31.2.tar.gz | ||
cd cmake-3.31.2 | ||
./bootstrap | ||
make -j$(nproc) && sudo make install | ||
cd - | ||
|
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