Package Details: clang-rc 12.0.0rc5-1

Git Clone URL: (read-only, click to copy)
Package Base: clang-rc
Description: C language family frontend for LLVM (rc release)
Upstream URL:
Licenses: custom:Apache 2.0 with LLVM Exception
Conflicts: clang, clang-analyzer, clang-git, clang-stable, clang-tools-extra
Provides: clang, clang-analyzer, clang-tools-extra
Replaces: clang-analyzer, clang-tools-extra
Submitter: kevall474
Maintainer: kevall474
Last Packager: kevall474
Votes: 0
Popularity: 0.000000
First Submitted: 2021-03-03 02:23
Last Updated: 2021-04-21 01:58

Required by (735)

Sources (1)

Latest Comments

DAC324 commented on 2021-05-11 07:43

@kevall474: If llvm-rc, llvm-libs-rc and compiler-rt-rc are required to avoid the error @maximaman (and I) encountered, wouldn't it be a good idea to add them to this package's dependencies?

kevall474 commented on 2021-03-17 01:27

Did you install llvm-rc llvm-libs-rc and compiler-rt-rc from AUR?

maximaman commented on 2021-03-17 00:54

The build fails for me with the following error:

[14/1681] Building
FAILED: include/clang/Driver/ 
cd /home/sid/.cache/yay/clang-rc/src/llvm-project-12.0.0rc3.src/clang/build && /usr/bin/llvm-tblgen -gen-opt-parser-defs -I /home/sid/.cache/yay/clang-rc/src/llvm-project-12.0.0rc3.src/clang/include/clang/Driver -I /home/sid/.cache/yay/clang-rc/src/llvm-project-12.0.0rc3.src/clang/include -I /home/sid/.cache/yay/clang-rc/src/llvm-project-12.0.0rc3.src/clang/build/include -I /usr/include -I /usr/include /home/sid/.cache/yay/clang-rc/src/llvm-project-12.0.0rc3.src/clang/include/clang/Driver/ --write-if-changed -o include/clang/Driver/ -d include/clang/Driver/
/home/sid/.cache/yay/clang-rc/src/llvm-project-12.0.0rc3.src/clang/include/clang/Driver/ error: Couldn't find class 'KeyPathAndMacro'
  : KeyPathAndMacro<"DiagnosticOpts->", base, "DIAG_"> {}
[23/1681] Building CXX object utils/TableGen/CMakeFiles/clang-tblgen.dir/MveEmitter.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
error making: clang-rc

kevall474 commented on 2021-03-12 21:18

Okay thanks for that! I'll check for the issues as soon as possible!

vlovich commented on 2021-03-12 19:09

The build definitely failed because mlir-tblgen was missing & installing mlir-rc allowed me to build clang-rc successfully. Might be a new requirement for clang-12? Or the build is somehow configured to accidentally depend on an optional dependency on mlir-tblgen that doesn't impact build output?

kevall474 commented on 2021-03-12 00:21


clang does not depends on mlir package :

depends=('llvm-libs' 'gcc' 'compiler-rt') makedepends=('llvm' 'cmake' 'ninja' 'python-sphinx' 'python2')

vlovich commented on 2021-03-11 06:00

This appears to have a build dependency on mlir-rc?