non port: devel/creduce/files/builtin_is_constant_evaluated.h |
SVNWeb
|
Number of commits found: 2 |
Mon, 23 Jan 2023
|
[ 09:58 Daniel Engberg (diizzy) ] be17d4a
devel/creduce: Update to latest commit (20220927) and unbreak
Update to latest commit to support LLVM 15
Convert to CMake and adjust dependencies
PR: 268745
Reviewed by: pkubaj, tcberner
Tested by: pkubaj, brooks
Approved by: portmgr (maintainer timeout, 2+ weeks)
|
Sun, 13 Feb 2022
|
[ 18:50 Dimitry Andric (dim) ] 782745a
devel/creduce: add crutch for using libc++ 14 with clang++ 8
C-Reduce still depends on devel/llvm80, and this is no longer compatible
with libc++ 14 or higher, since libc++ now requires support for the
__builtin_is_constant_evaluated() builtin function (see
https://github.com/llvm/llvm-project/commit/1123100a16a321d70508e2508ebc5d57ce7163dc
).
As a crutch, add a small header which defines a constexpr
__builtin_is_constant_evaluated() function, and include that at the top
of every compiled file, using -include, whenever the base system clang
version is 14 or higher.
Approved by: swills (maintainer)
MFH: 2022Q1
|
Number of commits found: 2 |