Enable LTO for win64 builds; Cleanup
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
af9e1adddf
commit
16f1afc73c
9 changed files with 130 additions and 116 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -289,7 +289,7 @@ jobs:
|
||||||
WINEDLLOVERRIDES: "mscoree,mshtml="
|
WINEDLLOVERRIDES: "mscoree,mshtml="
|
||||||
run: |
|
run: |
|
||||||
make features
|
make features
|
||||||
make -j $(nproc)
|
make WITH_LTO=true -j $(nproc)
|
||||||
- name: Set sha8
|
- name: Set sha8
|
||||||
id: slug
|
id: slug
|
||||||
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
|
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
|
||||||
|
|
2
carla
2
carla
|
@ -1 +1 @@
|
||||||
Subproject commit 0bcd151616fd087ceb6e224fdf8ffba38e790fa8
|
Subproject commit 3b933fafb9e689e881c5dbac8447ecefc2d3f2fd
|
1
deps/Makefile
vendored
1
deps/Makefile
vendored
|
@ -27,7 +27,6 @@ endif
|
||||||
|
|
||||||
ifeq ($(WINDOWS),true)
|
ifeq ($(WINDOWS),true)
|
||||||
BASE_FLAGS += -D_USE_MATH_DEFINES
|
BASE_FLAGS += -D_USE_MATH_DEFINES
|
||||||
BASE_FLAGS += -D__STDC_FORMAT_MACROS
|
|
||||||
BASE_FLAGS += -DWIN32_LEAN_AND_MEAN
|
BASE_FLAGS += -DWIN32_LEAN_AND_MEAN
|
||||||
BASE_FLAGS += -I../include/mingw-compat
|
BASE_FLAGS += -I../include/mingw-compat
|
||||||
BASE_FLAGS += -I../include/mingw-std-threads
|
BASE_FLAGS += -I../include/mingw-std-threads
|
||||||
|
|
2
dpf
2
dpf
|
@ -1 +1 @@
|
||||||
Subproject commit d1892e151f4fdeeb93f23beaddd69df6b53edeca
|
Subproject commit 6053ec2a3e036865be7e25bf70920640d416dbe3
|
|
@ -657,7 +657,6 @@ endif
|
||||||
|
|
||||||
ifeq ($(WINDOWS),true)
|
ifeq ($(WINDOWS),true)
|
||||||
BASE_FLAGS += -D_USE_MATH_DEFINES
|
BASE_FLAGS += -D_USE_MATH_DEFINES
|
||||||
BASE_FLAGS += -D__STDC_FORMAT_MACROS
|
|
||||||
BASE_FLAGS += -DWIN32_LEAN_AND_MEAN
|
BASE_FLAGS += -DWIN32_LEAN_AND_MEAN
|
||||||
BASE_FLAGS += -I../include/mingw-compat
|
BASE_FLAGS += -I../include/mingw-compat
|
||||||
BASE_FLAGS += -I../include/mingw-std-threads
|
BASE_FLAGS += -I../include/mingw-std-threads
|
||||||
|
@ -793,7 +792,7 @@ $(BUILD_DIR)/%.bin.o: $(BUILD_DIR)/%.bin.c
|
||||||
$(BUILD_DIR)/plugins.cpp.o: plugins.cpp
|
$(BUILD_DIR)/plugins.cpp.o: plugins.cpp
|
||||||
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
|
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
|
||||||
@echo "Compiling $<"
|
@echo "Compiling $<"
|
||||||
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -IBogaudioModules/lib -IBogaudioModules/src/dsp -c -o $@
|
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
|
||||||
|
|
||||||
$(BUILD_DIR)/Cardinal/%.cpp.o: Cardinal/%.cpp
|
$(BUILD_DIR)/Cardinal/%.cpp.o: Cardinal/%.cpp
|
||||||
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
|
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
|
||||||
|
|
|
@ -106,114 +106,130 @@ extern Model *modelBlank;
|
||||||
#define modelVCA modelBogaudioVCA
|
#define modelVCA modelBogaudioVCA
|
||||||
#define modelVCF modelBogaudioVCF
|
#define modelVCF modelBogaudioVCF
|
||||||
#define modelVCO modelBogaudioVCO
|
#define modelVCO modelBogaudioVCO
|
||||||
#include "BogaudioModules/src/AD.hpp"
|
extern Model *modelVCO;
|
||||||
#include "BogaudioModules/src/Additator.hpp"
|
extern Model *modelLVCO;
|
||||||
#include "BogaudioModules/src/AddrSeqX.hpp"
|
extern Model *modelSine;
|
||||||
#include "BogaudioModules/src/ADSR.hpp"
|
extern Model *modelPulse;
|
||||||
#include "BogaudioModules/src/AMRM.hpp"
|
extern Model *modelXCO;
|
||||||
#include "BogaudioModules/src/Analyzer.hpp"
|
extern Model *modelAdditator;
|
||||||
#include "BogaudioModules/src/AnalyzerXL.hpp"
|
extern Model *modelFMOp;
|
||||||
#include "BogaudioModules/src/Assign.hpp"
|
extern Model *modelChirp;
|
||||||
#include "BogaudioModules/src/ASR.hpp"
|
extern Model *modelLFO;
|
||||||
#include "BogaudioModules/src/Arp.hpp"
|
extern Model *modelLLFO;
|
||||||
#include "BogaudioModules/src/Blank3.hpp"
|
extern Model *modelFourFO;
|
||||||
#include "BogaudioModules/src/Blank6.hpp"
|
extern Model *modelEightFO;
|
||||||
#include "BogaudioModules/src/Bool.hpp"
|
extern Model *modelVCF;
|
||||||
#include "BogaudioModules/src/Chirp.hpp"
|
extern Model *modelLVCF;
|
||||||
#include "BogaudioModules/src/Clpr.hpp"
|
extern Model *modelFFB;
|
||||||
#include "BogaudioModules/src/Cmp.hpp"
|
extern Model *modelEQ;
|
||||||
#include "BogaudioModules/src/CmpDist.hpp"
|
extern Model *modelEQS;
|
||||||
#include "BogaudioModules/src/CVD.hpp"
|
extern Model *modelLPG;
|
||||||
#include "BogaudioModules/src/DADSRH.hpp"
|
extern Model *modelLLPG;
|
||||||
#include "BogaudioModules/src/DADSRHPlus.hpp"
|
extern Model *modelMegaGate;
|
||||||
#include "BogaudioModules/src/Detune.hpp"
|
extern Model *modelPEQ;
|
||||||
#include "BogaudioModules/src/DGate.hpp"
|
extern Model *modelPEQ6;
|
||||||
#include "BogaudioModules/src/Edge.hpp"
|
extern Model *modelPEQ6XF;
|
||||||
#include "BogaudioModules/src/EightFO.hpp"
|
extern Model *modelPEQ14;
|
||||||
#include "BogaudioModules/src/EightOne.hpp"
|
extern Model *modelPEQ14XF;
|
||||||
#include "BogaudioModules/src/EQ.hpp"
|
extern Model *modelDADSRH;
|
||||||
#include "BogaudioModules/src/EQS.hpp"
|
extern Model *modelDADSRHPlus;
|
||||||
#include "BogaudioModules/src/FFB.hpp"
|
extern Model *modelShaper;
|
||||||
#include "BogaudioModules/src/FlipFlop.hpp"
|
extern Model *modelShaperPlus;
|
||||||
#include "BogaudioModules/src/FMOp.hpp"
|
extern Model *modelAD;
|
||||||
#include "BogaudioModules/src/Follow.hpp"
|
extern Model *modelASR;
|
||||||
#include "BogaudioModules/src/FourFO.hpp"
|
extern Model *modelADSR;
|
||||||
#include "BogaudioModules/src/FourMan.hpp"
|
extern Model *modelVish;
|
||||||
#include "BogaudioModules/src/Inv.hpp"
|
extern Model *modelFollow;
|
||||||
#include "BogaudioModules/src/LFO.hpp"
|
extern Model *modelDGate;
|
||||||
#include "BogaudioModules/src/Lgsw.hpp"
|
extern Model *modelRGate;
|
||||||
#include "BogaudioModules/src/LLFO.hpp"
|
extern Model *modelEdge;
|
||||||
#include "BogaudioModules/src/LLPG.hpp"
|
extern Model *modelNoise;
|
||||||
#include "BogaudioModules/src/Lmtr.hpp"
|
extern Model *modelSampleHold;
|
||||||
#include "BogaudioModules/src/LPG.hpp"
|
extern Model *modelWalk2;
|
||||||
#include "BogaudioModules/src/LVCF.hpp"
|
extern Model *modelWalk;
|
||||||
#include "BogaudioModules/src/LVCO.hpp"
|
extern Model *modelMix8;
|
||||||
#include "BogaudioModules/src/Manual.hpp"
|
extern Model *modelMix8x;
|
||||||
#include "BogaudioModules/src/Matrix18.hpp"
|
extern Model *modelMix4;
|
||||||
#include "BogaudioModules/src/Matrix44.hpp"
|
extern Model *modelMix4x;
|
||||||
#include "BogaudioModules/src/Matrix81.hpp"
|
extern Model *modelMix2;
|
||||||
#include "BogaudioModules/src/Matrix88.hpp"
|
extern Model *modelMix1;
|
||||||
#include "BogaudioModules/src/Matrix88Cv.hpp"
|
extern Model *modelVCM;
|
||||||
#include "BogaudioModules/src/Matrix88M.hpp"
|
extern Model *modelMute8;
|
||||||
#include "BogaudioModules/src/MegaGate.hpp"
|
extern Model *modelPan;
|
||||||
#include "BogaudioModules/src/Mix1.hpp"
|
extern Model *modelXFade;
|
||||||
#include "BogaudioModules/src/Mix2.hpp"
|
extern Model *modelVCA;
|
||||||
#include "BogaudioModules/src/Mix4.hpp"
|
extern Model *modelVCAmp;
|
||||||
#include "BogaudioModules/src/Mix4x.hpp"
|
extern Model *modelVelo;
|
||||||
#include "BogaudioModules/src/Mix8x.hpp"
|
extern Model *modelUMix;
|
||||||
#include "BogaudioModules/src/Mono.hpp"
|
extern Model *modelMumix;
|
||||||
#include "BogaudioModules/src/Mult.hpp"
|
extern Model *modelMatrix81;
|
||||||
#include "BogaudioModules/src/Mumix.hpp"
|
extern Model *modelMatrix18;
|
||||||
#include "BogaudioModules/src/Mute8.hpp"
|
extern Model *modelMatrix44;
|
||||||
#include "BogaudioModules/src/Noise.hpp"
|
extern Model *modelMatrix44Cvm;
|
||||||
#include "BogaudioModules/src/Nsgt.hpp"
|
extern Model *modelMatrix88;
|
||||||
#include "BogaudioModules/src/Offset.hpp"
|
extern Model *modelMatrix88Cv;
|
||||||
#include "BogaudioModules/src/OneEight.hpp"
|
extern Model *modelMatrix88M;
|
||||||
#include "BogaudioModules/src/Pan.hpp"
|
extern Model *modelSwitch81;
|
||||||
#include "BogaudioModules/src/PEQ.hpp"
|
extern Model *modelSwitch18;
|
||||||
#include "BogaudioModules/src/PEQ6.hpp"
|
extern Model *modelSwitch44;
|
||||||
#include "BogaudioModules/src/PEQ6XF.hpp"
|
extern Model *modelSwitch88;
|
||||||
#include "BogaudioModules/src/PEQ14.hpp"
|
extern Model *modelSwitch1616;
|
||||||
#include "BogaudioModules/src/PEQ14XF.hpp"
|
extern Model *modelAMRM;
|
||||||
#include "BogaudioModules/src/Pgmr.hpp"
|
extern Model *modelPressor;
|
||||||
#include "BogaudioModules/src/PgmrX.hpp"
|
extern Model *modelClpr;
|
||||||
#include "BogaudioModules/src/PolyCon16.hpp"
|
extern Model *modelLmtr;
|
||||||
#include "BogaudioModules/src/PolyCon8.hpp"
|
extern Model *modelNsgt;
|
||||||
#include "BogaudioModules/src/PolyMult.hpp"
|
extern Model *modelCmpDist;
|
||||||
#include "BogaudioModules/src/PolyOff16.hpp"
|
extern Model *modelOneEight;
|
||||||
#include "BogaudioModules/src/PolyOff8.hpp"
|
extern Model *modelEightOne;
|
||||||
#include "BogaudioModules/src/Pressor.hpp"
|
extern Model *modelAddrSeq;
|
||||||
#include "BogaudioModules/src/Pulse.hpp"
|
extern Model *modelAddrSeqX;
|
||||||
#include "BogaudioModules/src/Ranalyzer.hpp"
|
extern Model *modelPgmr;
|
||||||
#include "BogaudioModules/src/Reftone.hpp"
|
extern Model *modelPgmrX;
|
||||||
#include "BogaudioModules/src/RGate.hpp"
|
extern Model *modelVU;
|
||||||
#include "BogaudioModules/src/SampleHold.hpp"
|
extern Model *modelAnalyzer;
|
||||||
#include "BogaudioModules/src/Shaper.hpp"
|
extern Model *modelAnalyzerXL;
|
||||||
#include "BogaudioModules/src/ShaperPlus.hpp"
|
extern Model *modelRanalyzer;
|
||||||
#include "BogaudioModules/src/Sine.hpp"
|
extern Model *modelDetune;
|
||||||
#include "BogaudioModules/src/Slew.hpp"
|
extern Model *modelStack;
|
||||||
#include "BogaudioModules/src/Stack.hpp"
|
extern Model *modelReftone;
|
||||||
#include "BogaudioModules/src/Sums.hpp"
|
extern Model *modelMono;
|
||||||
#include "BogaudioModules/src/Switch.hpp"
|
extern Model *modelArp;
|
||||||
#include "BogaudioModules/src/Switch1616.hpp"
|
extern Model *modelAssign;
|
||||||
#include "BogaudioModules/src/Switch18.hpp"
|
extern Model *modelUnison;
|
||||||
#include "BogaudioModules/src/Switch44.hpp"
|
extern Model *modelPolyCon8;
|
||||||
#include "BogaudioModules/src/Switch81.hpp"
|
extern Model *modelPolyCon16;
|
||||||
#include "BogaudioModules/src/Switch88.hpp"
|
extern Model *modelPolyOff8;
|
||||||
#include "BogaudioModules/src/UMix.hpp"
|
extern Model *modelPolyOff16;
|
||||||
#include "BogaudioModules/src/Unison.hpp"
|
extern Model *modelPolyMult;
|
||||||
#include "BogaudioModules/src/VCA.hpp"
|
extern Model *modelBool;
|
||||||
#include "BogaudioModules/src/VCAmp.hpp"
|
extern Model *modelCmp;
|
||||||
#include "BogaudioModules/src/VCF.hpp"
|
extern Model *modelCVD;
|
||||||
#include "BogaudioModules/src/VCM.hpp"
|
extern Model *modelFlipFlop;
|
||||||
#include "BogaudioModules/src/VCO.hpp"
|
extern Model *modelInv;
|
||||||
#include "BogaudioModules/src/Velo.hpp"
|
extern Model *modelManual;
|
||||||
#include "BogaudioModules/src/Vish.hpp"
|
extern Model *modelFourMan;
|
||||||
#include "BogaudioModules/src/VU.hpp"
|
extern Model *modelMult;
|
||||||
#include "BogaudioModules/src/Walk.hpp"
|
extern Model *modelOffset;
|
||||||
#include "BogaudioModules/src/Walk2.hpp"
|
extern Model *modelSlew;
|
||||||
#include "BogaudioModules/src/XCO.hpp"
|
extern Model *modelSums;
|
||||||
#include "BogaudioModules/src/XFade.hpp"
|
extern Model *modelSwitch;
|
||||||
|
extern Model *modelLgsw;
|
||||||
|
extern Model *modelBlank3;
|
||||||
|
extern Model *modelBlank6;
|
||||||
|
#ifdef EXPERIMENTAL
|
||||||
|
extern Model *modelLag;
|
||||||
|
extern Model *modelPEQ14XR;
|
||||||
|
extern Model *modelPEQ14XV;
|
||||||
|
#endif
|
||||||
|
#ifdef TEST
|
||||||
|
extern Model *modelTest;
|
||||||
|
extern Model *modelTest2;
|
||||||
|
extern Model *modelTestExpanderBase;
|
||||||
|
extern Model *modelTestExpanderExtension;
|
||||||
|
extern Model *modelTestGl;
|
||||||
|
extern Model *modelTestVCF;
|
||||||
|
#endif
|
||||||
#undef modelADSR
|
#undef modelADSR
|
||||||
#undef modelLFO
|
#undef modelLFO
|
||||||
#undef modelNoise
|
#undef modelNoise
|
||||||
|
|
|
@ -71,7 +71,6 @@ endif
|
||||||
|
|
||||||
ifeq ($(WINDOWS),true)
|
ifeq ($(WINDOWS),true)
|
||||||
BASE_FLAGS += -D_USE_MATH_DEFINES
|
BASE_FLAGS += -D_USE_MATH_DEFINES
|
||||||
BASE_FLAGS += -D__STDC_FORMAT_MACROS
|
|
||||||
BASE_FLAGS += -DWIN32_LEAN_AND_MEAN
|
BASE_FLAGS += -DWIN32_LEAN_AND_MEAN
|
||||||
BASE_FLAGS += -I../include/mingw-compat
|
BASE_FLAGS += -I../include/mingw-compat
|
||||||
BASE_FLAGS += -I../include/mingw-std-threads
|
BASE_FLAGS += -I../include/mingw-std-threads
|
||||||
|
|
|
@ -162,7 +162,6 @@ endif
|
||||||
|
|
||||||
ifeq ($(WINDOWS),true)
|
ifeq ($(WINDOWS),true)
|
||||||
BASE_FLAGS += -D_USE_MATH_DEFINES
|
BASE_FLAGS += -D_USE_MATH_DEFINES
|
||||||
BASE_FLAGS += -D__STDC_FORMAT_MACROS
|
|
||||||
BASE_FLAGS += -DWIN32_LEAN_AND_MEAN
|
BASE_FLAGS += -DWIN32_LEAN_AND_MEAN
|
||||||
BASE_FLAGS += -I../../include/mingw-compat
|
BASE_FLAGS += -I../../include/mingw-compat
|
||||||
BASE_FLAGS += -I../../include/mingw-std-threads
|
BASE_FLAGS += -I../../include/mingw-std-threads
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
* For a full copy of the GNU General Public License see the LICENSE file.
|
* For a full copy of the GNU General Public License see the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define STDIO_OVERRIDE Rackdep
|
||||||
|
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue