Skip to content

Commit c89bdce

Browse files
committed
External libs - update build scripts on mac and Linux
This adds instructions to pre-build the emergent behaviour synth Ugen plugins on mac, and updates the corresponding instructions on Linux to account for the new path to the native plugins.
1 parent 0a30ade commit c89bdce

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

app/external/mac_build_externals.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@ echo "Building sp_midi..."
1313
cmake --build . --target sp_midi
1414
echo "Building aubio onset..."
1515
cmake --build . --target aubio
16+
echo "Building supercollider-plugins..."
17+
cmake --build . --target supercollider-plugins
1618

1719
cd "${SCRIPT_DIR}"

app/linux-prebuild.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ cp ${SCRIPT_DIR}/external/build/sp_midi-prefix/src/sp_midi-build/*.so ${SCRIPT_D
3333
cp "${SCRIPT_DIR}/external/build/aubio-prefix/src/aubio-build/aubio_onset" "${SCRIPT_DIR}/server/native/"
3434

3535
echo "Copying extra UGens to the server..."
36-
mkdir -p "${SCRIPT_DIR}/../../server/native/plugins"
37-
cp ${SCRIPT_DIR}/external/build/supercollider-plugins-prefix/src/supercollider-plugins-build/*.so ${SCRIPT_DIR}/../../server/native/plugins
36+
mkdir -p "${SCRIPT_DIR}/../../server/native/supercollider/plugins"
37+
cp ${SCRIPT_DIR}/external/build/supercollider-plugins-prefix/src/supercollider-plugins-build/*.so ${SCRIPT_DIR}/../../server/native/supercollider/plugins
3838

3939
#dont remove ruby-aubio-prerelease, as needed in linux build
4040
#it is removed in the windows-prebuild

app/mac-prebuild.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ ln -s supercollider/scsynth scsynth
6060
mv supercollider/extra-plugins/* supercollider/plugins/
6161
rm -rf supercollider/extra-plugins
6262

63+
echo "Copying extra UGens to the server..."
64+
cp ${SCRIPT_DIR}/external/build/supercollider-plugins-prefix/src/supercollider-plugins-build/*.scx ${SCRIPT_DIR}/server/native/supercollider/plugins
65+
6366
echo "Compiling native ruby extensions..."
6467
$RUBY "${SCRIPT_DIR}/server/ruby/bin/compile-extensions.rb"
6568

0 commit comments

Comments
 (0)