FreeBSD Bugzilla – Attachment 184421 Details for
Bug 219840
[NEW PORT] devel/bazel-clang38: using clang38 as default crosstool
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Adding a clang38 option to devel/bazel
bazel-clang38.diff (text/plain), 986 bytes, created by
Klaus Aehlig
on 2017-07-17 08:22:43 UTC
(
hide
)
Description:
Adding a clang38 option to devel/bazel
Filename:
MIME Type:
Creator:
Klaus Aehlig
Created:
2017-07-17 08:22:43 UTC
Size:
986 bytes
patch
obsolete
>diff -ruN bazel.orig/Makefile bazel/Makefile >--- bazel.orig/Makefile 2017-07-17 10:16:25.870443000 +0200 >+++ bazel/Makefile 2017-07-17 10:15:25.392743000 +0200 >@@ -32,6 +32,12 @@ > JAVA_BUILD= yes > JAVA_RUN= yes > >+OPTIONS_DEFINE= CLANG38 >+CLANG38_DESC= Use clang38 as default crosstool >+CLANG38_BUILD_DEPENDS= clang38:devel/llvm38 >+CLANG38_RUN_DEPENDS= clang38:devel/llvm38 >+ >+ > # Have the location of the system-wide rc file reside ${ETCDIR}. > # Also adapt the sample file to disable persistent java workers as they > # do not work reliably on FreeBSD. >@@ -41,6 +47,10 @@ > ${WRKSRC}/src/main/cpp/blaze_util_posix.cc > @${ECHO_CMD} build --strategy=Javac=standalone >> ${WRKSRC}/scripts/packages/debian/bazel.bazelrc > >+post-patch-CLANG38-on: >+ @${REINPLACE_CMD} -e 's=/usr/lib/clang=${LOCALBASE}/llvm38/lib/clang=' \ >+ -e 's=/usr/bin/clang=${LOCALBASE}/bin/clang38=' ${WRKSRC}/tools/cpp/CROSSTOOL >+ > do-build: > @${MKDIR} ${WRKDIR}/bazel_tmp > (if [ -z "$${SOURCE_DATE_EPOCH}" ] ; \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 219840
:
183293
|
183321
|
183345
|
183781
|
183783
|
184324
|
184325
| 184421 |
184498