pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/60226: mlil fails to build on Mac OS (Hence slang fails to build) I am trying to fix pkgsrc to allow avoiding gfortran
>Number: 60226
>Category: pkg
>Synopsis: mlil fails to build on Mac OS (Hence slang fails to build) I am trying to fix pkgsrc to allow avoiding gfortran
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 04 10:10:00 +0000 2026
>Originator: Sam Woodhead
>Release: pkgsrc trimk
>Organization:
None
>Environment:
Darwin Sams-iMac.local 24.6.0 Darwin Kernel Version 24.6.0: Fri Feb 27 19:33:24 PST 2026; root:xnu-11417.140.69.709.8~1/RELEASE_X86_64 x86_64
>Description:
mlil fails to build.
>How-To-Repeat:
cd pkgsrc/lang/mlir
bmake install
The patch below fixes it for Mac.
It was found in the llvm bug tracker but marked as won't fix because it doesn't apply to their trunk.
But it is necessary for pkgsrc at the moment.
https://github.com/llvm/llvm-project/issues/160896
>Fix:
--- mlir/lib/Dialect/Vector/IR/CMakeLists.txt.orig 2026-05-04 10:57:05
+++ mlir/lib/Dialect/Vector/IR/CMakeLists.txt 2026-05-04 10:57:26
@@ -11,6 +11,7 @@
MLIRMaskingOpInterfaceIncGen
MLIRVectorOpsIncGen
MLIRVectorAttributesIncGen
+ MLIRVectorTransformsIncGen
LINK_LIBS PUBLIC
MLIRAffineDialect
Home |
Main Index |
Thread Index |
Old Index