From 5d537439ed9dcf19aaa6d0fabd93098dff2c396c Mon Sep 17 00:00:00 2001 From: Vladimir Sadovnikov Date: Thu, 20 Jul 2023 00:55:40 +0300 Subject: [PATCH 1/7] Version up --- CHANGELOG | 3 +++ project.mk | 2 +- src/main/meta/oscilloscope.cpp | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 6f0ec8f..dad5129 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,9 @@ * RECENT CHANGES ******************************************************************************* +=== 1.0.12 === + + === 1.0.11 === * Implemented high-precision oversampling algorithms for input channels. * Updated build scripts and dependencies. diff --git a/project.mk b/project.mk index a5c9bc0..28fbe00 100644 --- a/project.mk +++ b/project.mk @@ -25,7 +25,7 @@ ARTIFACT_TYPE = plug ARTIFACT_DESC = LSP Oscilloscope Plugin Series ARTIFACT_HEADERS = lsp-plug.in ARTIFACT_EXPORT_HEADERS = 0 -ARTIFACT_VERSION = 1.0.11 +ARTIFACT_VERSION = 1.0.12-devel diff --git a/src/main/meta/oscilloscope.cpp b/src/main/meta/oscilloscope.cpp index 1a76b47..f4507fb 100644 --- a/src/main/meta/oscilloscope.cpp +++ b/src/main/meta/oscilloscope.cpp @@ -25,7 +25,7 @@ #define LSP_PLUGINS_OSCILLOSCOPE_VERSION_MAJOR 1 #define LSP_PLUGINS_OSCILLOSCOPE_VERSION_MINOR 0 -#define LSP_PLUGINS_OSCILLOSCOPE_VERSION_MICRO 11 +#define LSP_PLUGINS_OSCILLOSCOPE_VERSION_MICRO 12 #define LSP_PLUGINS_OSCILLOSCOPE_VERSION \ LSP_MODULE_VERSION( \ From b16307dae8aedeff9de9a8fb97b3d1d5d4b2b212 Mon Sep 17 00:00:00 2001 From: Vladimir Sadovnikov Date: Sun, 13 Aug 2023 17:05:19 +0300 Subject: [PATCH 2/7] Updated build scripts and dependencies --- CHANGELOG | 2 +- make/tools.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index dad5129..42febf7 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -3,7 +3,7 @@ ******************************************************************************* === 1.0.12 === - +* Updated build scripts and dependencies. === 1.0.11 === * Implemented high-precision oversampling algorithms for input channels. diff --git a/make/tools.mk b/make/tools.mk index ac04414..f849a30 100644 --- a/make/tools.mk +++ b/make/tools.mk @@ -85,8 +85,8 @@ else ifeq ($(PLATFORM),BSD) endif ifeq ($(DEBUG),1) - CFLAGS_EXT += -Og -g3 -DLSP_DEBUG - CXXFLAGS_EXT += -Og -g3 -DLSP_DEBUG + CFLAGS_EXT += -Og -g3 -DLSP_DEBUG -fsanitize=address + CXXFLAGS_EXT += -Og -g3 -DLSP_DEBUG -fsanitize=address else CFLAGS_EXT += -O2 CXXFLAGS_EXT += -O2 From b98b0211b9f01d21a7d450fc1514470956b1b534 Mon Sep 17 00:00:00 2001 From: Vladimir Sadovnikov Date: Sun, 13 Aug 2023 17:42:43 +0300 Subject: [PATCH 3/7] Updated build scripts and dependencies --- make/tools.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/make/tools.mk b/make/tools.mk index f849a30..57b34d0 100644 --- a/make/tools.mk +++ b/make/tools.mk @@ -87,6 +87,8 @@ endif ifeq ($(DEBUG),1) CFLAGS_EXT += -Og -g3 -DLSP_DEBUG -fsanitize=address CXXFLAGS_EXT += -Og -g3 -DLSP_DEBUG -fsanitize=address + EXE_FLAGS_EXT += -fsanitize=address + SO_FLAGS_EXT += -fsanitize=address else CFLAGS_EXT += -O2 CXXFLAGS_EXT += -O2 From c70566f3f2f528ba732063b13bf22743bbc93a2c Mon Sep 17 00:00:00 2001 From: Vladimir Sadovnikov Date: Mon, 14 Aug 2023 00:38:24 +0300 Subject: [PATCH 4/7] Updated build scripts and dependencies --- .github/workflows/build.yml | 38 ++++++++++++++++++++++++++++++++++++- make/tools.mk | 13 +++++++++---- 2 files changed, 46 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 24ee4e2..f639b69 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,7 +60,43 @@ jobs: valgrind ${{ env.VALGRIND_ARGS }} /usr/lib/carla/carla-bridge-native vst2 "${_binary}" "" 1>/dev/null; \ done - arch_linux_debug: + arch_linux_asan: + runs-on: ubuntu-latest + container: + image: archlinux:latest + steps: + - name: Add debug repositories + run: | + printf "[core-debug]\nInclude = /etc/pacman.d/mirrorlist\n[extra-debug]\nInclude = /etc/pacman.d/mirrorlist\n[multilib-debug]\nInclude = /etc/pacman.d/mirrorlist" >> /etc/pacman.conf + printf 'Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch\n%s\n' "$(cat /etc/pacman.d/mirrorlist)" > /etc/pacman.d/mirrorlist + - name: Install dependencies + run: pacman --noconfirm -Syu alsa-lib base-devel cairo carla git glibc-debug hicolor-icon-theme jack jq libglvnd libsndfile libx11 libxrandr php valgrind + - uses: actions/checkout@v3 + - name: Configure project + run: make config STRICT=1 DEBUG=1 VERBOSE=1 ASAN=1 FEATURES='clap jack ladspa lv2 vst2' PREFIX=/usr + - name: Fetch project dependencies + run: make fetch + - name: Build project + run: make VERBOSE=1 + - name: Install binaries + run: make install + - name: LADSPA runtime checks + run: | + for _plugin in $(jq -r '.plugins[].ladspa_label | select( . != null )' ${{ env.PLUGIN_METADATA }}); do \ + /usr/lib/carla/carla-bridge-native ladspa /usr/lib/ladspa/lsp-*.so "${_plugin}" 1>/dev/null; \ + done + - name: LV2 runtime checks + run: | + for _plugin in $(jq -r '.plugins[].lv2_uri | select( . != null )' ${{ env.PLUGIN_METADATA }}); do \ + /usr/lib/carla/carla-bridge-native lv2 "" "${_plugin}" 1>/dev/null; \ + done + - name: VST2 runtime checks + run: | + for _binary in $(ls /usr/lib/vst/lsp-plugins/*.so | grep -v /lsp-plugins-); do \ + /usr/lib/carla/carla-bridge-native vst2 "${_binary}" "" 1>/dev/null; \ + done + + arch_linux_valgrind: runs-on: ubuntu-latest container: image: archlinux:latest diff --git a/make/tools.mk b/make/tools.mk index 57b34d0..f2729c4 100644 --- a/make/tools.mk +++ b/make/tools.mk @@ -85,15 +85,20 @@ else ifeq ($(PLATFORM),BSD) endif ifeq ($(DEBUG),1) - CFLAGS_EXT += -Og -g3 -DLSP_DEBUG -fsanitize=address - CXXFLAGS_EXT += -Og -g3 -DLSP_DEBUG -fsanitize=address - EXE_FLAGS_EXT += -fsanitize=address - SO_FLAGS_EXT += -fsanitize=address + CFLAGS_EXT += -Og -g3 -DLSP_DEBUG + CXXFLAGS_EXT += -Og -g3 -DLSP_DEBUG else CFLAGS_EXT += -O2 CXXFLAGS_EXT += -O2 endif +ifeq ($(ASAN),1) + CFLAGS_EXT += -fsanitize=address + CXXFLAGS_EXT += -fsanitize=address + EXE_FLAGS_EXT += -fsanitize=address + SO_FLAGS_EXT += -fsanitize=address +endif + ifeq ($(PROFILE),1) CFLAGS_EXT += -pg -DLSP_PROFILE CXXFLAGS_EXT += -pg -DLSP_PROFILE From 91de90d025d2005daad22b44c166d5ad0c16b76b Mon Sep 17 00:00:00 2001 From: Vladimir Sadovnikov Date: Tue, 15 Aug 2023 19:19:31 +0300 Subject: [PATCH 5/7] Updated build scripts and dependencies --- .cproject | 5 +++-- .github/workflows/build.yml | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.cproject b/.cproject index 5e4763b..2cafd0f 100644 --- a/.cproject +++ b/.cproject @@ -54,7 +54,8 @@