Cleanup
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
df5b687265
commit
b9279fc2b3
2 changed files with 3 additions and 23 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -1121,7 +1121,7 @@ jobs:
|
||||||
WITH_LTO: false
|
WITH_LTO: false
|
||||||
run: |
|
run: |
|
||||||
make features
|
make features
|
||||||
make NOOPT=true SKIP_STRIPPING=true carla deps dgl plugins resources dpf/utils/lv2_ttl_generator -j $(nproc)
|
make NOOPT=true SKIP_STRIPPING=true carla deps dgl plugins resources -j $(nproc)
|
||||||
# single job for final build stage, otherwise we might get killed due to OOM
|
# single job for final build stage, otherwise we might get killed due to OOM
|
||||||
- name: Build Cardinal (final build stage)
|
- name: Build Cardinal (final build stage)
|
||||||
env:
|
env:
|
||||||
|
@ -1131,7 +1131,7 @@ jobs:
|
||||||
WITH_LTO: false
|
WITH_LTO: false
|
||||||
run: |
|
run: |
|
||||||
make features
|
make features
|
||||||
make NOOPT=true SKIP_STRIPPING=true -C src jack lv2 vst2 vst3 clap -j 1
|
make NOOPT=true SKIP_STRIPPING=true -j 1
|
||||||
./dpf/utils/generate-ttl.sh
|
./dpf/utils/generate-ttl.sh
|
||||||
- name: Run Cardinal self-tests
|
- name: Run Cardinal self-tests
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -20,31 +20,16 @@
|
||||||
#ifndef DISTRHO_PLUGIN_WANT_DIRECT_ACCESS
|
#ifndef DISTRHO_PLUGIN_WANT_DIRECT_ACCESS
|
||||||
# error wrong build 1
|
# error wrong build 1
|
||||||
#endif
|
#endif
|
||||||
#if DISTRHO_PLUGIN_WANT_DIRECT_ACCESS
|
#if DISTRHO_PLUGIN_WANT_DIRECT_ACCESS && !defined(HEADLESS)
|
||||||
# error wrong build 2
|
# error wrong build 2
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// #if ! DISTRHO_PLUGIN_WANT_DIRECT_ACCESS
|
|
||||||
// # define HEADLESS
|
|
||||||
// #endif
|
|
||||||
//
|
|
||||||
// #ifndef HEADLESS
|
|
||||||
// # include "OpenGL.hpp"
|
|
||||||
// #endif
|
|
||||||
|
|
||||||
#include "nanovg.h"
|
#include "nanovg.h"
|
||||||
|
|
||||||
// #ifdef HEADLESS
|
|
||||||
struct NVGLUframebuffer;
|
struct NVGLUframebuffer;
|
||||||
void nvgluBindFramebuffer(NVGLUframebuffer* fb) {}
|
void nvgluBindFramebuffer(NVGLUframebuffer* fb) {}
|
||||||
NVGLUframebuffer* nvgluCreateFramebuffer(NVGcontext* ctx, int w, int h, int imageFlags) { return nullptr; }
|
NVGLUframebuffer* nvgluCreateFramebuffer(NVGcontext* ctx, int w, int h, int imageFlags) { return nullptr; }
|
||||||
void nvgluDeleteFramebuffer(NVGLUframebuffer* fb) {}
|
void nvgluDeleteFramebuffer(NVGLUframebuffer* fb) {}
|
||||||
// #else
|
|
||||||
// # define NANOVG_GLES2_IMPLEMENTATION
|
|
||||||
// # define NANOVG_FBO_VALID 1
|
|
||||||
// # include "nanovg_gl.h"
|
|
||||||
// # include "nanovg_gl_utils.h"
|
|
||||||
// #endif
|
|
||||||
|
|
||||||
#if defined(__GNUC__) && (__GNUC__ >= 6)
|
#if defined(__GNUC__) && (__GNUC__ >= 6)
|
||||||
# pragma GCC diagnostic push
|
# pragma GCC diagnostic push
|
||||||
|
@ -74,8 +59,3 @@ GLFWAPI int glfwGetKeyScancode(int) { return 0; }
|
||||||
GLFWAPI double glfwGetTime(void) { return 0.0; }
|
GLFWAPI double glfwGetTime(void) { return 0.0; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// #ifndef HEADLESS
|
|
||||||
// # define STB_IMAGE_WRITE_IMPLEMENTATION
|
|
||||||
// # include "../src/Rack/dep/glfw/deps/stb_image_write.h"
|
|
||||||
// #endif
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue