Commit 5e237b6d authored by gsell's avatar gsell

Merge branch '111-clang-write-build-block' into 'master'

Resolve "clang: write build-block"

Closes #111

See merge request Pmodules/buildblocks!146
parents 9255c37a 0f1b3a7d
#!/usr/bin/env modbuild
pbuild::set_download_url \
#pbuild::set_sha256sum "openmpi-3.1.2.tar.bz2:c654ed847f34a278c52a15c98add40402b4a90f0c540779f1ae6c489af8a76c5"
pbuild::add_to_group 'Programming'
#pbuild::install_docfiles 'AUTHORS' 'LICENSE' 'NEWS' 'README'
pbuild::configure() {
cmake \
-G "Unix Makefiles" \
../src/llvm/ \
|| exit 1
pbuild::post_install() {
clang/10.0.1 unstable b:cmake/3.15.5 b:gcc/8.4.0 b:Python/3.8.4
module-whatis "LLVM native C/C++/Objective-C compiler"
module-url ""
module-license "Apache 2.0 License with LLVM exceptions"
module-maintainer "Achim Gsell <>"
module-help "
Clang is an \"LLVM native\" C/C++/Objective-C compiler, which aims to
deliver amazingly fast compiles, extremely useful error and warning
messages and to provide a platform for building great source level
tools. The Clang Static Analyzer and clang-tidy are tools that
automatically find bugs in your code, and are great examples of the
sort of tools that can be built using the Clang frontend as a library
to parse C/C++ code.
module-addgroup "Compiler"
setenv CC $PREFIX/bin/clang
setenv CXX $PREFIX/bin/clang++
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment