From b151869fc85b746073fd6cbfa5d3f9a219d06e18 Mon Sep 17 00:00:00 2001 From: RunningDroid Date: Mon, 19 Aug 2024 18:27:01 -0400 Subject: [PATCH] build-style/cmake: set -Wno-dev Any developers using CMake on Void hopefully try building with just CMake before building with xbps-src https://cmake.org/cmake/help/latest/manual/cmake.1.html#cmdoption-cmake-Wno-dev https://web.archive.org/web/20240808144816/https://cmake.org/cmake/help/latest/manual/cmake.1.html#cmdoption-cmake-Wno-dev --- common/build-style/cmake.sh | 3 +++ srcpkgs/Lucene++/template | 1 - srcpkgs/intel-gmmlib/template | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common/build-style/cmake.sh b/common/build-style/cmake.sh index 124ed354eff..e4c0509527b 100644 --- a/common/build-style/cmake.sh +++ b/common/build-style/cmake.sh @@ -72,6 +72,9 @@ _EOF cmake_args+=" -DCMAKE_INSTALL_SBINDIR:PATH=bin" + # https://cmake.org/cmake/help/latest/manual/cmake.1.html#cmdoption-cmake-Wno-dev + cmake_args+=" -Wno-dev" + export CMAKE_GENERATOR="${CMAKE_GENERATOR:-Ninja}" # Remove -pipe: https://gitlab.kitware.com/cmake/cmake/issues/19590 CFLAGS="-DNDEBUG ${CFLAGS/ -pipe / }" CXXFLAGS="-DNDEBUG ${CXXFLAGS/ -pipe / }" \ diff --git a/srcpkgs/Lucene++/template b/srcpkgs/Lucene++/template index 931e80cdbee..0c3057db90e 100644 --- a/srcpkgs/Lucene++/template +++ b/srcpkgs/Lucene++/template @@ -3,7 +3,6 @@ pkgname=Lucene++ version=3.0.7 revision=15 build_style=cmake -configure_args="-Wno-dev" makedepends="boost-devel gtest-devel" short_desc="C++ port of the popular text search engine" maintainer="Enno Boland " diff --git a/srcpkgs/intel-gmmlib/template b/srcpkgs/intel-gmmlib/template index 759cd0cab0b..878045d39fc 100644 --- a/srcpkgs/intel-gmmlib/template +++ b/srcpkgs/intel-gmmlib/template @@ -12,7 +12,6 @@ build_style=cmake # intel-media-driver, which is wholly optional and installed only on # systems with supported CPUs, it doesn't make sense to change the # compilers flag in use. -configure_args="-Wno-dev" short_desc="Intel Graphics Memory Management Library" maintainer="Orphaned " license="MIT"