Skip to content

Clang#413

Merged
boegel merged 2 commits intoeasybuilders:developfrom
wpoely86:clang341
May 27, 2014
Merged

Clang#413
boegel merged 2 commits intoeasybuilders:developfrom
wpoely86:clang341

Conversation

@wpoely86
Copy link
Copy Markdown
Member

Use glob for directory finding. The LLVM people enjoy it too much to rename directories.

Comment thread easybuild/easyblocks/c/clang.py Outdated
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.

we only expect one hit, right? otherwise something fishy is going on?

compiler_rt_src_dirs = glob.glob('compiler-rt-*')
if len(compiler_rt_src_dirs) != 1:
    self.log.error("Failed to find exactly one compiler-rt source directory: %s" % compiler_rt_src_dirs)
compiler_rt_src_dir = compiler_rt_src_dirs[0]

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yeah, more then one hit means trouble.

@wpoely86
Copy link
Copy Markdown
Member Author

@boegel ready

@boegel
Copy link
Copy Markdown
Member

boegel commented May 27, 2014

Tested on existing Clang easyconfigs and on easybuilders/easybuild-easyconfigs#871, together with #402, so good to go in

Thanks @wpoely86!

boegel added a commit that referenced this pull request May 27, 2014
@boegel boegel merged commit 9ac1f58 into easybuilders:develop May 27, 2014
@wpoely86 wpoely86 deleted the clang341 branch May 27, 2014 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants