Commit 936208cb authored by Leander Schulten's avatar Leander Schulten

Do not use a git submodule for RtAudio, so that always the newest version is chosen

parent 115334d1
Pipeline #260929 passed with stage
in 11 minutes and 12 seconds
[submodule "src/lib/aubio/aubio.git"]
path = src/lib/aubio/aubio.git
url = https://github.com/aubio/aubio
[submodule "src/lib/RtAudio/rtaudio"]
path = src/lib/RtAudio/rtaudio
url = https://github.com/thestk/rtaudio.git
*/*
\ No newline at end of file
*
#!/bin/bash
set -e
# see https://github.com/thestk/rtaudio/blob/master/install.txt
# add and update git submodule
git submodule init
git submodule update
# cd into git repo
GIT_DIR=rtaudio
cd $GIT_DIR
# add or update git
if [ ! -d "$GIT_DIR" ]; then # if folder "GIT_DIR" does not exists
git clone https://github.com/thestk/rtaudio.git "$GIT_DIR"
cd "$GIT_DIR"
else
cd "$GIT_DIR"
if [[ $(git pull) = "Already up to date." ]]; then
# we can skip recompiling, because the last build is already up to date
echo "Already up to date."
exit 0
fi
fi
# we are in the "$GIT_DIR" now
# build
if [[ "$OSTYPE" == "msys" ]] || ! [[ -z "$GITLAB_CI" ]]; then
# we are on windows or on the gitlab ci
......
Subproject commit 57c2c9d7598a783a5167422cd744f4d3797141bb
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment