Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
B
buildblocks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Pmodules
buildblocks
Commits
0f1b3a7d
Commit
0f1b3a7d
authored
Nov 16, 2020
by
l_opal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clang: new build-block added
parent
9255c37a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
0 deletions
+46
-0
Programming/clang/build
Programming/clang/build
+24
-0
Programming/clang/files/variants.rhel6
Programming/clang/files/variants.rhel6
+1
-0
Programming/clang/modulefile
Programming/clang/modulefile
+21
-0
No files found.
Programming/clang/build
0 → 100755
View file @
0f1b3a7d
#!/usr/bin/env modbuild
pbuild
::
set_download_url
\
"https://github.com/llvm/llvm-project/releases/download/llvmorg-${V_PKG}/llvm-project-${V_PKG}.tar.xz"
#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
\
-
DCMAKE_INSTALL_PREFIX
=
"${PREFIX}"
\
-
DCMAKE_BUILD_TYPE
=
Release
\
-
DLLVM_ENABLE_PROJECTS
=
clang
\
-
G
"Unix Makefiles"
\
..
/
src
/
llvm
/
\
||
exit
1
}
pbuild
::
post_install
()
{
:
}
Programming/clang/files/variants.rhel6
0 → 100644
View file @
0f1b3a7d
clang/10.0.1 unstable b:cmake/3.15.5 b:gcc/8.4.0 b:Python/3.8.4
Programming/clang/modulefile
0 → 100644
View file @
0f1b3a7d
#%Module1.0
module-whatis "LLVM native C/C++/Objective-C compiler"
module-url "http://llvm.org"
module-license "Apache 2.0 License with LLVM exceptions"
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
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++
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment