[Bug 259900] devel/vc-intrinsics: build fails with FLAVOR=llvm11

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 17 Nov 2021 17:16:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259900

            Bug ID: 259900
           Summary: devel/vc-intrinsics: build fails with FLAVOR=llvm11
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com
          Assignee: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)

devel/vc-intrinsics (PORTVERSION=s20211110) fails to build with FLAVOR=llvm11
and llvm-11.0.1_3.


/usr/ports/devel/vc-intrinsics/work-llvm11/vc-intrinsics-8ee8793/GenXIntrinsics/lib/GenXIntrinsics/GenXIntrinsics.cpp:687:16:
error: no type named 'LSCVectorSize' in namespace 'llvm::GenXIntrinsic'
GenXIntrinsic::LSCVectorSize GenXIntrinsic::getLSCVectorSize(
~~~~~~~~~~~~~~~^
/usr/ports/devel/vc-intrinsics/work-llvm11/vc-intrinsics-8ee8793/GenXIntrinsics/lib/GenXIntrinsics/GenXIntrinsics.cpp:689:10:
error: use of undeclared identifier 'isLSC'
  assert(isLSC(I));
         ^
/usr/ports/devel/vc-intrinsics/work-llvm11/vc-intrinsics-8ee8793/GenXIntrinsics/lib/GenXIntrinsics/GenXIntrinsics.cpp:690:11:
error: use of undeclared identifier 'getLSCCategory'
  switch (getLSCCategory(I)) {
          ^
 .
 .
 .


Just removing '11' from FLAVORS in devel/vc-intrinsics and
devel/intel-graphics-compiler is probably fine unless there is a known problem
with the current version of llvm12 (I don't know of any that would affect these
ports).

Also I'd remove the unnecessary ":L" in the FLAVORS definition for those ports.

-- 
You are receiving this mail because:
You are the assignee for the bug.