Opened 2 years ago
Closed 20 months ago
#65626 closed defect (fixed)
llvm-devel @20220731: build fails on < 10.10 due to lack of <pthread/qos.h>
Reported by: | kencu (Ken) | Owned by: | cjones051073 (Chris Jones) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | llvm-devel llvm-15 |
Description
This llvm commit brought in new thread priority functions for Apple systems:
https://github.com/llvm/llvm-project/commit/9902a0945d22cd5757b16ebe85fe07059723aa09
the features used include those in <pthread/qos.h>, which is available from from macOS 10.10 onward.
Change History (7)
comment:1 Changed 2 years ago by kencu (Ken)
Owner: | set to cjones051073 |
---|---|
Status: | new → assigned |
comment:2 Changed 2 years ago by cjones051073 (Chris Jones)
comment:3 Changed 2 years ago by cjones051073 (Chris Jones)
Port: | llvm-15 added |
---|
comment:4 Changed 2 years ago by kencu (Ken)
this one looks fixable for older systems, but would require modest effort to ifdef around.
I don’t know how easy it might be to add an implementation of this to older systems, using what they can provide to mimic <pthread/qos.h>. That effort might be generally more useful.
comment:5 Changed 2 years ago by cjones051073 (Chris Jones)
That would I guess be something for legacy-support ...
comment:6 Changed 2 years ago by Chris Jones <jonesc@…>
comment:7 Changed 20 months ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
llvm-15 is now also affected by this.