Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions easybuild/easyconfigs/c/CMake/CMake-2.8.11-GCC-4.8.1.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name = 'CMake'
version = '2.8.11'

homepage = 'http://www.cmake.org'
description = """CMake, the cross-platform, open-source build system.
CMake is a family of tools designed to build, test and package software."""

toolchain = {'name': 'GCC', 'version': '4.8.1'}

source_urls = ['http://www.cmake.org/files/v%(version_major_minor)s']
sources = [SOURCELOWER_TAR_GZ]

dependencies = [('ncurses', '5.9')]

sanity_check_paths = {
'files': ["bin/%s" % x for x in ['cmake', 'cpack', 'ctest']],
'dirs': [],
}

moduleclass = 'devel'
55 changes: 55 additions & 0 deletions easybuild/easyconfigs/c/Clang/Clang-3.3-GCC-4.8.1.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
##
# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
#
# Copyright:: Copyright 2013 Dmitri Gribenko, Ward Poelmans
# Authors:: Dmitri Gribenko <gribozavr@gmail.com>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you have no objections with the licensing scheme, I'd say add yourself in the list of authors;
having a couple of authors per (complex) easyconfig is good for "parenting" them...

Otherwise, nice work! that will also help #350 now...

# Authors:: Ward Poelmans <wpoely86@gmail.com>
# License:: GPLv2 or later, MIT, three-clause BSD.
# $Id$
##

name = "Clang"
version = "3.3"

homepage = "http://clang.llvm.org/"
description = """C, C++, Objective-C compiler, based on LLVM. Does not
include C++ standard library -- use libstdc++ from GCC."""

# Clang also depends on libstdc++ during runtime, but this dependency is
# already specified as the toolchain.
toolchain = {'name': 'GCC', 'version': '4.8.1'}

sources = [
"llvm-%s.src.tar.gz" % version,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to use %(version)s (same below)

"cfe-%s.src.tar.gz" % version,
"compiler-rt-%s.src.tar.gz" % version,
]

source_urls = [
"http://llvm.org/releases/%s" % version
]

patches = [
# Remove some tests that fail because of -DGCC_INSTALL_PREFIX. The issue is
# that hardcoded GCC_INSTALL_PREFIX overrides -sysroot. This probably breaks
# cross-compilation.
# http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130401/077539.html
'Clang-3.3-failing-tests-due-to-gcc-installation-prefix.patch',
# Several asan and tsan tests fail due to 32<->64 bit issues. This patch disables them.
'Clang-3.3-failing-asan-and-tsan-tests.patch',
]

builddependencies = [('CMake', '2.8.11')]

sanity_check_paths = {
'files': ['bin/clang', 'bin/clang++', 'lib/libclang.so', 'lib/clang/%s/include/stddef.h' % version],

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

%(version)s

'dirs': []
}

languages = ['c', 'c++']

moduleclass = 'compiler'

assertions = False

build_targets = ['X86']
Loading