Bug 249620 - devel/libclc: depends on python 2.x
Summary: devel/libclc: depends on python 2.x
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks: 249337
  Show dependency treegraph
 
Reported: 2020-09-24 16:22 UTC by Steve Wills
Modified: 2020-10-16 17:15 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (x11)


Attachments
libclc.patch (llvm 11.0.0) (19.25 KB, patch)
2020-10-16 17:15 UTC, Greg V
greg: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Wills freebsd_committer 2020-09-24 16:22:25 UTC
This port will be removed on 2020-12-31 if not fixed
Comment 1 Greg V 2020-10-16 17:15:05 UTC
Created attachment 218803 [details]
libclc.patch (llvm 11.0.0)

libclc is part of the LLVM repo now, the separate mirror is no longer updated.
Versioning is quite confusing: pkg-config version is stuck at 0.2.0, the tag from the mirror was 0.4.0, but now it's in LLVM so it follows LLVM.

The python2 based build system is dropped: https://github.com/llvm/llvm-project/commit/d6e0e6d255a7d54a3873b7a5d048eee00ef6bb6d#diff-eadd7e7d6ad9e3f2b2ca4010924946948dac2350f8b901e9744c10a79ecdb92e

The attached patch builds libclc from llvm-project 11.0.0, using CMake.
(also resets BROKEN_powerpc64 because let's try again)

Clover must be rebuilt (PORTREVISION bumped) when switching to this version, since the directory for the bytecode files has moved from lib to share, and apparently clover gets this path compiled in via headers or something.