Summary: | dev-lang/ispc-1.7.0 injects -Werror | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Freddie Witherden <freddie> |
Component: | [OLD] Development | Assignee: | Christoph Junghans (RETIRED) <junghans> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, jouni.kosonen |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/ispc/ispc/pull/807 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 260867 | ||
Attachments: | Suggested patch for the Makefile |
Description
Freddie Witherden
2014-06-25 17:53:29 UTC
Created attachment 379660 [details, diff]
Suggested patch for the Makefile
With llvm 3.4.2 the command line ends up containing -DLLVM_3_4.2
The code seems to be expecting something like -DLLVM_3_4 for this case, so having -Werror stop the compilation here is likely a good thing.
Looks like the sed expression in the Makefile can only remove the micro version if it's zero. There's also something strange in the escaping levels...
Attaching a patch that should make this work better.
+ 26 Jun 2014; Christoph Junghans <ottxor@gentoo.org> + +files/ispc-1.7.0-llvm-version.patch, ispc-1.7.0.ebuild: + fix build with llvm-3.4.2 (bug #515114) + |