From d2806b64e7508f0380ee8e2ecd9cd623a533c873 Mon Sep 17 00:00:00 2001 From: Allen Languor Date: Sat, 5 Nov 2022 08:18:55 +0100 Subject: [PATCH] update build script --- .gitmodules | 6 ++++++ build_docker.sh | 6 ++++-- deps/clap-juce-extensions | 1 + deps/juce | 1 + 4 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 .gitmodules mode change 100644 => 100755 build_docker.sh create mode 160000 deps/clap-juce-extensions create mode 160000 deps/juce diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..ba28778 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,6 @@ +[submodule "deps/juce"] + path = deps/juce + url = https://github.com/juce-framework/JUCE.git +[submodule "deps/clap-juce-extensions"] + path = deps/clap-juce-extensions + url = https://github.com/free-audio/clap-juce-extensions.git diff --git a/build_docker.sh b/build_docker.sh old mode 100644 new mode 100755 index bc0c3c3..8f0c94a --- a/build_docker.sh +++ b/build_docker.sh @@ -1,4 +1,6 @@ -# docker build -t paulxstretch_builder -f Dockerfile.arch . +#! /bin/bash +docker build -t paulxstretch_builder -f Dockerfile.arch . mkdir -p ./build docker run -v $PWD:/src -v $PWD/build:/build paulxstretch_builder cmake -B build -S /src -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev -docker run -v $PWD:/src -v $PWD/build:/build paulxstretch_builder cmake --build build \ No newline at end of file +docker run -v $PWD:/src -v $PWD/build:/build paulxstretch_builder cmake --build build +sudo chown $USER build/. -R diff --git a/deps/clap-juce-extensions b/deps/clap-juce-extensions new file mode 160000 index 0000000..a4265bc --- /dev/null +++ b/deps/clap-juce-extensions @@ -0,0 +1 @@ +Subproject commit a4265bcc85488292504b6a298a4e243e688316fb diff --git a/deps/juce b/deps/juce new file mode 160000 index 0000000..965d0ca --- /dev/null +++ b/deps/juce @@ -0,0 +1 @@ +Subproject commit 965d0ca4be178c4a0000b116d460e15c30311992