From 0864c036fcebc810c8d0d398e2df31bbf0c09622 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Nogueira?= Date: Wed, 7 Apr 2021 16:31:51 -0300 Subject: [PATCH] intel-gmmlib: add comment about -march used in compiler flags. Reported by sgn Suggestion for "fix" by tornaria Closes #29801 --- srcpkgs/intel-gmmlib/template | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/srcpkgs/intel-gmmlib/template b/srcpkgs/intel-gmmlib/template index de10b7059d95..ad6ba012fa90 100644 --- a/srcpkgs/intel-gmmlib/template +++ b/srcpkgs/intel-gmmlib/template @@ -5,6 +5,14 @@ revision=1 archs="i686* x86_64*" wrksrc=gmmlib-intel-gmmlib-${version} build_style=cmake +# We could add -DGMMLIB_ARCH=generic to make it use -march=generic +# instead of their default of 'corei7', but it isn't necessary: +# the baseline of CPUs supported by gmmlib all fit under 'corei7'. +# They also add many '-msse*' flags, but they are all supported +# as well. Since this library isn't a dependency for anything but +# 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="Stefano Ragni "