1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Compiler runtime libraries for clang
8 HOMEPAGE= https://compiler-rt.llvm.org/
12 SITES[main]= https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/
13 DISTFILE[1]= compiler-rt-17.0.6.src.tar.xz:main
14 DISTFILE[2]= cmake-17.0.6.src.tar.xz:main
16 SPKGS[standard]= single
18 OPTIONS_AVAILABLE= none
19 OPTIONS_STANDARD= none
21 BROKEN[freebsd]= Needs sha224.h header
22 BROKEN[netbsd]= missing headers from system root
24 BUILD_DEPENDS= llvm:dev:standard
27 BUILDRUN_DEPENDS= llvm:primary:standard
28 B_DEPS[freebsd]= libmd:dev:standard
29 B_DEPS[netbsd]= libmd:dev:standard
30 BR_DEPS[freebsd]= libmd:primary:standard
31 BR_DEPS[netbsd]= libmd:primary:standard
33 USES= cpe cmake ninja zlib:build ncurses:build
34 python:build c++:single
36 DISTNAME= compiler-rt-17.0.6.src
38 LICENSE= CUSTOM1:single
39 LICENSE_NAME= CUSTOM1:"University of Illinois/NCSA Open Source License"
40 LICENSE_FILE= CUSTOM1:{{WRKSRC}}/LICENSE.TXT
46 PLIST_SUB= OPSYSLC={{OPSYS:tl}}
49 ${MKDIR} ${WRKDIR}/cmake/Modules
50 ${CP} ${WRKDIR}/cmake-17.0.6.src/Modules/* ${WRKDIR}/cmake/Modules/
52 [FILE:209:descriptions/desc.single]
53 The compiler-rt project consists of:
59 - UndefinedBehaviorSanitizer
68 11b8d09dcf92a0f91c5c82defb5ad9ff4acf5cf073a80c317204baa922d136b4 2421808 compiler-rt-17.0.6.src.tar.xz
69 807f069c54dc20cb47b21c1f6acafdd9c649f3ae015609040d6182cab01140f4 8712 cmake-17.0.6.src.tar.xz
72 [FILE:1914:manifests/plist.single]
73 %%ONLY-FREEBSD%%lib/freebsd/
74 libclang_rt.asan-preinit-x86_64.a
75 libclang_rt.asan-x86_64.a
76 libclang_rt.asan-x86_64.a.syms
77 libclang_rt.asan-x86_64.so
78 libclang_rt.asan_cxx-x86_64.a
79 libclang_rt.asan_cxx-x86_64.a.syms
80 libclang_rt.cfi-x86_64.a
81 libclang_rt.cfi_diag-x86_64.a
82 libclang_rt.dd-x86_64.a
83 libclang_rt.dyndd-x86_64.so
84 libclang_rt.fuzzer-x86_64.a
85 libclang_rt.fuzzer_interceptors-x86_64.a
86 libclang_rt.fuzzer_no_main-x86_64.a
87 libclang_rt.msan-x86_64.a
88 libclang_rt.msan-x86_64.a.syms
89 libclang_rt.msan_cxx-x86_64.a
90 libclang_rt.msan_cxx-x86_64.a.syms
91 libclang_rt.profile-x86_64.a
92 libclang_rt.safestack-x86_64.a
93 libclang_rt.stats-x86_64.a
94 libclang_rt.stats_client-x86_64.a
95 libclang_rt.tsan-x86_64.a
96 libclang_rt.tsan-x86_64.a.syms
97 libclang_rt.tsan_cxx-x86_64.a
98 libclang_rt.tsan_cxx-x86_64.a.syms
99 libclang_rt.ubsan_minimal-x86_64.a
100 libclang_rt.ubsan_minimal-x86_64.a.syms
101 libclang_rt.ubsan_minimal-x86_64.so
102 libclang_rt.ubsan_standalone-x86_64.a
103 libclang_rt.ubsan_standalone-x86_64.a.syms
104 libclang_rt.ubsan_standalone-x86_64.so
105 libclang_rt.ubsan_standalone_cxx-x86_64.a
106 libclang_rt.ubsan_standalone_cxx-x86_64.a.syms
107 libclang_rt.xray-basic-x86_64.a
108 libclang_rt.xray-fdr-x86_64.a
109 libclang_rt.xray-profiling-x86_64.a
110 libclang_rt.xray-x86_64.a
111 %%ONLY-FREEBSD%%share/
115 include/fuzzer/FuzzedDataProvider.h
117 include/profile/InstrProfData.inc
119 allocator_interface.h
121 common_interface_defs.h
125 linux_syscall_hooks.h
129 netbsd_syscall_hooks.h
132 tsan_interface_atomic.h
139 libclang_rt.builtins-x86_64.a
143 [FILE:406:patches/patch-lib_fuzzer_FuzzerSHA1.cpp]
144 --- lib/fuzzer/FuzzerSHA1.cpp.orig 2023-10-17 06:20:52 UTC
145 +++ lib/fuzzer/FuzzerSHA1.cpp
146 @@ -40,7 +40,11 @@ namespace { // Added for LibFuzzer
147 # define SHA_BIG_ENDIAN
149 #else // ! defined __LITTLE_ENDIAN__
150 +# if LIBFUZZER_FREEBSD
151 +# include <sys/endian.h>
153 # include <endian.h> // machine/endian.h
155 # if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
156 # define SHA_BIG_ENDIAN
160 [FILE:320:patches/patch-lib_sanitizer__common_sanitizer__platform__limits__freebsd.cpp]
161 --- lib/sanitizer_common/sanitizer_platform_limits_freebsd.cpp.orig 2023-10-17 06:20:52 UTC
162 +++ lib/sanitizer_common/sanitizer_platform_limits_freebsd.cpp
166 #include <stringlist.h>
173 [FILE:877:patches/patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cpp]
174 --- lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp.orig 2023-10-17 06:20:52 UTC
175 +++ lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp
177 #include <sys/ioctl_compat.h>
178 #include <sys/joystick.h>
179 #include <sys/ksyms.h>
180 -#include <sys/lua.h>
181 #include <sys/midiio.h>
182 #include <sys/mtio.h>
183 #include <sys/power.h>
184 @@ -493,12 +492,7 @@ struct urio_command {
185 #include <semaphore.h>
192 #include <soundcard.h>
197 @@ -514,9 +508,6 @@ struct urio_command {
199 #include <stringlist.h>
201 -#if defined(__x86_64__)
206 // Include these after system headers to avoid name clashes and ambiguities.