Summary: | dev-lang/ispc does not build with LLVM 10 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Guillaume BRUN <the.cheaterman> |
Component: | Current packages | Assignee: | Christoph Junghans (RETIRED) <junghans> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | flyingwaffle, sam |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/16470 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Ebuild
Gentoo-specific patch Remove -Werror from CFLAGS LLVM10 compatibility Ebuild for 1.13.0 |
Created attachment 646854 [details, diff]
Gentoo-specific patch
Created attachment 646856 [details, diff]
Remove -Werror from CFLAGS
Created attachment 646858 [details, diff]
LLVM10 compatibility
Created attachment 646864 [details]
Ebuild for 1.13.0
This new ebuild/patchset probably fixes 656632. Also, they work on latest upstream release 1.13.0, making them a candidate for a version bump (although a proper src_test() implementation would be appreciated). I posted the 1.13.0 ebuild for posterity - but it's the same as the -9999 one. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f073ca910b7838d71043c2ae752fcd0d147937bd commit f073ca910b7838d71043c2ae752fcd0d147937bd Author: Guillaume BRUN <the.cheaterman@gmail.com> AuthorDate: 2020-06-28 15:48:55 +0000 Commit: Christoph Junghans <junghans@gentoo.org> CommitDate: 2020-06-28 16:43:42 +0000 dev-lang/ispc: Add -1.13.0 ebuild Closes: https://bugs.gentoo.org/656632 Closes: https://bugs.gentoo.org/729924 Signed-off-by: Guillaume BRUN <the.cheaterman@gmail.com> Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Christoph Junghans <junghans@gentoo.org> dev-lang/ispc/Manifest | 1 + .../files/ispc-1.13.0-cmake-gentoo-release.patch | 13 +++ dev-lang/ispc/files/ispc-1.13.0-llvm-10.patch | 106 +++++++++++++++++++++ dev-lang/ispc/files/ispc-1.13.0-werror.patch | 13 +++ .../ispc/{ispc-9999.ebuild => ispc-1.13.0.ebuild} | 27 ++++-- 5 files changed, 150 insertions(+), 10 deletions(-) |
Created attachment 646852 [details] Ebuild ispc (no matter the version) doesn't build against LLVM10. Moreover, current (-9999) ispc uses cmake, and doesn't seem compatible with CMAKE_BUILD_TYPE=Gentoo. This ebuild and set of patches address these issues. One of the patches removes -Werror from build options, much like the original ebuild did (using sed on the Makefile), by patching CMakeLists. The second fixes CMAKE_BUILD_TYPE=Gentoo. The third addresses LLVM10 compatibility, and needs further runtime testing.