Package Details: clang-rc 12.0.0rc4-1

Git Clone URL: https://aur.archlinux.org/clang-rc.git (read-only, click to copy)
Package Base: clang-rc
Description: C language family frontend for LLVM (rc release)
Upstream URL: https://clang.llvm.org/
Licenses: custom:Apache 2.0 with LLVM Exception
Conflicts: clang, clang-analyzer, clang-git, 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-02 03:28

Required by (694)

Sources (1)

Latest Comments

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 Options.inc...
FAILED: include/clang/Driver/Options.inc 
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/Options.td --write-if-changed -o include/clang/Driver/Options.inc -d include/clang/Driver/Options.inc.d
/home/sid/.cache/yay/clang-rc/src/llvm-project-12.0.0rc3.src/clang/include/clang/Driver/Options.td:245:5: 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().
    Aborting...
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

Hi,

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?