From bd7742b1dd97a0dadbb633d95f62b6d79005d9c0 Mon Sep 17 00:00:00 2001 From: Jonathan Thomas Date: Mon, 1 May 2023 15:32:54 -0500 Subject: [PATCH 1/2] Revert "Support for New Linux Build Server + glibc Wrapping" --- .gitlab-ci.yml | 4 ++-- CMakeLists.txt | 9 --------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2f62d493..3e3a6e90 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,7 +13,7 @@ linux-builder: - build/install-x64/* script: - mkdir -p build; cd build; - - cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -D"CMAKE_INSTALL_PREFIX:PATH=install-x64" -D"CMAKE_BUILD_TYPE:STRING=Release" -DAPPIMAGE_BUILD=1 ../ + - cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -D"CMAKE_INSTALL_PREFIX:PATH=install-x64" -D"CMAKE_BUILD_TYPE:STRING=Release" ../ - make -j 2 - make install - PROJECT_VERSION=$(grep -E '^set\(PROJECT_VERSION_FULL "(.*)' ../CMakeLists.txt | awk '{print $2}' | tr -d '")') @@ -24,7 +24,7 @@ linux-builder: except: - tags tags: - - linux-focal + - linux-bionic mac-builder: stage: build-libopenshot-audio diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c518d78..5a02cec6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,15 +100,6 @@ include(FeatureSummary) ### Build configuration (options) option(ENABLE_AUDIO_DOCS "Attempt to build API docs for audio library" ON) option(AUTO_INSTALL_DOCS "Include documentation in the default install" ON) -option(APPIMAGE_BUILD "Build to install in an AppImage (Linux only)" OFF) - -if (APPIMAGE_BUILD) - # Force older version of glibc and -pthread flag when building AppImage - # for better backwards compatibility (i.e older distros) - message("Wrapping libc for compatibility with version glibc_2.23") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -include /usr/local/include/force_link_glibc_2.23.h -pthread -static-libgcc") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include /usr/local/include/force_link_glibc_2.23.h -pthread -static-libgcc") -endif() # Alternative location for JUCE modules (debian has their own) set(JUCE_MODULES_PATH "${CMAKE_CURRENT_SOURCE_DIR}/JuceLibraryCode/modules" CACHE PATH From 9ad46687fdb93a9cad8c707bbe8b4e417d092437 Mon Sep 17 00:00:00 2001 From: Jonathan Thomas Date: Mon, 1 May 2023 15:35:47 -0500 Subject: [PATCH 2/2] Update .gitlab-ci.yml Updating linux builder to linux-focal --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3e3a6e90..45a05499 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,7 +24,7 @@ linux-builder: except: - tags tags: - - linux-bionic + - linux-focal mac-builder: stage: build-libopenshot-audio