From: Johannes Demel Date: Sat, 14 Jan 2023 17:35:59 +0000 (+0100) Subject: [PATCH 1/5] ci: Remove license check X-Git-Tag: archive/raspbian/3.1.0-3+rpi1~1^2~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8bb4b9131eb75ffb6056f7dcc6373f973b9ec6fd;p=volk.git [PATCH 1/5] ci: Remove license check This check fails because new contributors don't need to re-license. All new contributions must be made under LGPL. Thus, this check is superfluous. Also, it would add an administrative burden that we should avoid. Signed-off-by: Johannes Demel Gbp-Pq: Name 0001-ci-Remove-license-check.patch --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 3816757..a6e4f87 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -383,21 +383,6 @@ if(ENABLE_MODTOOL) add_subdirectory(python/volk_modtool) endif() -######################################################################## -# And the LGPL license check -######################################################################## -# detect default for LGPL -if(VERSION_INFO_MAJOR_VERSION GREATER_EQUAL 3) - OPTION(ENABLE_LGPL "Enable testing for LGPL" ON) -else() - OPTION(ENABLE_LGPL "Enable testing for LGPL" OFF) -endif() - -if(ENABLE_TESTING AND ENABLE_LGPL) - message(STATUS "Checking for LGPL resubmission enabled") - add_test("check_lgpl" ${CMAKE_SOURCE_DIR}/scripts/licensing/count_contrib.sh ${CMAKE_SOURCE_DIR}/AUTHORS_RESUBMITTING_UNDER_LGPL_LICENSE.md) -endif() - ######################################################################## # Print summary ########################################################################