diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5f98266..ed9cc8b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -100,15 +100,14 @@ jobs: run: | sudo dpkg --add-architecture i386 sudo apt-get update -qq - sudo apt-get install -yq g++-multilib libasound2-dev:i386 libcairo2-dev:i386 libgl1-mesa-dev:i386 liblo-dev:i386 libpulse-dev:i386 libx11-dev:i386 libxcursor-dev:i386 libxext-dev:i386 libxrandr-dev:i386 + sudo apt-get install -yq g++-i686-linux-gnu libasound2-dev:i386 libcairo2-dev:i386 libgl1-mesa-dev:i386 liblo-dev:i386 libpulse-dev:i386 libx11-dev:i386 libxcursor-dev:i386 libxext-dev:i386 libxrandr-dev:i386 # extra for vcv deps sudo apt-get install -yq libxi-dev:i386 libxinerama-dev:i386 - name: Build linux x86 env: - CFLAGS: -m32 - CXXFLAGS: -m32 - LDFLAGS: -m32 -static-libgcc -static-libstdc++ - PKG_CONFIG_PATH: /usr/lib/i386-linux-gnu/pkgconfig + CC: i686-linux-gnu-gcc + CXX: i686-linux-gnu-g++ + LDFLAGS: -static-libgcc -static-libstdc++ run: | make features make -j $(nproc) diff --git a/plugins/Cardinal/GL/glew.h b/plugins/Cardinal/GL/glew.h index 1dc94d3..1a3a19b 100644 --- a/plugins/Cardinal/GL/glew.h +++ b/plugins/Cardinal/GL/glew.h @@ -1,3 +1,20 @@ +/* + * DISTRHO Cardinal Plugin + * Copyright (C) 2021 Filipe Coelho + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 3 of + * the License, or any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * For a full copy of the GNU General Public License see the LICENSE file. + */ + #pragma once #ifdef NDEBUG diff --git a/plugins/Cardinal/Makefile b/plugins/Cardinal/Makefile index 80222dc..a2ebb24 100644 --- a/plugins/Cardinal/Makefile +++ b/plugins/Cardinal/Makefile @@ -106,7 +106,7 @@ CMAKE += -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX='$(DEP_PATH)' # VCV internal dependencies target Rack/dep/lib/%.a: - $(MAKE) ARCH_NAME=$(ARCH_NAME) CMAKE="$(CMAKE)" CONFIGURE="$(CONFIGURE)" DEP_FLAGS="$(BASE_FLAGS)" MACHINE=$(MACHINE)$(MACHINE_SUFFIX) -C Rack/dep lib/$*.a + $(MAKE) ARCH_NAME=$(ARCH_NAME) CMAKE="$(CMAKE)" CONFIGURE="$(CONFIGURE)" DEP_FLAGS="$(BASE_FLAGS)" DEP_MAC_SDK_FLAGS= MACHINE=$(MACHINE)$(MACHINE_SUFFIX) -C Rack/dep lib/$*.a Rack/dep/lib/libarchive.a: Rack/dep/lib/libzstd.a diff --git a/plugins/Cardinal/mingw-compat/Shlobj.h b/plugins/Cardinal/mingw-compat/Shlobj.h index 5b17afa..8ec3bcb 100644 --- a/plugins/Cardinal/mingw-compat/Shlobj.h +++ b/plugins/Cardinal/mingw-compat/Shlobj.h @@ -1 +1,18 @@ +/* + * DISTRHO Cardinal Plugin + * Copyright (C) 2021 Filipe Coelho + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 3 of + * the License, or any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * For a full copy of the GNU General Public License see the LICENSE file. + */ + #include diff --git a/plugins/Cardinal/mingw-compat/Shlwapi.h b/plugins/Cardinal/mingw-compat/Shlwapi.h index 89b9b63..66aa700 100644 --- a/plugins/Cardinal/mingw-compat/Shlwapi.h +++ b/plugins/Cardinal/mingw-compat/Shlwapi.h @@ -1 +1,18 @@ +/* + * DISTRHO Cardinal Plugin + * Copyright (C) 2021 Filipe Coelho + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 3 of + * the License, or any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * For a full copy of the GNU General Public License see the LICENSE file. + */ + #include diff --git a/plugins/Cardinal/mingw-compat/Windows.h b/plugins/Cardinal/mingw-compat/Windows.h index 776a87c..3b1ea78 100644 --- a/plugins/Cardinal/mingw-compat/Windows.h +++ b/plugins/Cardinal/mingw-compat/Windows.h @@ -1 +1,18 @@ +/* + * DISTRHO Cardinal Plugin + * Copyright (C) 2021 Filipe Coelho + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 3 of + * the License, or any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * For a full copy of the GNU General Public License see the LICENSE file. + */ + #include diff --git a/plugins/Cardinal/mingw-compat/condition_variable b/plugins/Cardinal/mingw-compat/condition_variable index 7f9970d..5ccf42c 100644 --- a/plugins/Cardinal/mingw-compat/condition_variable +++ b/plugins/Cardinal/mingw-compat/condition_variable @@ -1,3 +1,20 @@ +/* + * DISTRHO Cardinal Plugin + * Copyright (C) 2021 Filipe Coelho + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 3 of + * the License, or any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * For a full copy of the GNU General Public License see the LICENSE file. + */ + #pragma once #include_next #include "mingw.condition_variable.h" diff --git a/plugins/Cardinal/mingw-compat/mutex b/plugins/Cardinal/mingw-compat/mutex index 69cd675..bfc8b30 100644 --- a/plugins/Cardinal/mingw-compat/mutex +++ b/plugins/Cardinal/mingw-compat/mutex @@ -1,3 +1,20 @@ +/* + * DISTRHO Cardinal Plugin + * Copyright (C) 2021 Filipe Coelho + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 3 of + * the License, or any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * For a full copy of the GNU General Public License see the LICENSE file. + */ + #pragma once #include_next #include "mingw.mutex.h" diff --git a/plugins/Cardinal/mingw-compat/thread b/plugins/Cardinal/mingw-compat/thread index 640ddc7..ae813a7 100644 --- a/plugins/Cardinal/mingw-compat/thread +++ b/plugins/Cardinal/mingw-compat/thread @@ -1,3 +1,20 @@ +/* + * DISTRHO Cardinal Plugin + * Copyright (C) 2021 Filipe Coelho + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 3 of + * the License, or any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * For a full copy of the GNU General Public License see the LICENSE file. + */ + #pragma once #include_next #include "mingw.thread.h" diff --git a/plugins/Cardinal/neon-compat/pmmintrin.h b/plugins/Cardinal/neon-compat/pmmintrin.h index b1ba00b..390cf9b 100644 --- a/plugins/Cardinal/neon-compat/pmmintrin.h +++ b/plugins/Cardinal/neon-compat/pmmintrin.h @@ -1,8 +1,21 @@ -#pragma once +/* + * DISTRHO Cardinal Plugin + * Copyright (C) 2021 Filipe Coelho + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 3 of + * the License, or any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * For a full copy of the GNU General Public License see the LICENSE file. + */ -#ifdef NDEBUG -# undef DEBUG -#endif +#pragma once #include "../sse2neon/sse2neon.h"