FreeBSD Bugzilla – Attachment 108831 Details for
Bug 149746
[PATCH] devel/llvm - disable asserts by default (they appear not to be thread safe)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.95 KB, created by
Alberto Villa
on 2010-08-17 19:10:06 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Alberto Villa
Created:
2010-08-17 19:10:06 UTC
Size:
1.95 KB
patch
obsolete
>Index: llvm/Makefile >=================================================================== >RCS file: /home/pcvs/ports/devel/llvm/Makefile,v >retrieving revision 1.36 >diff -u -r1.36 Makefile >--- llvm/Makefile 28 Apr 2010 21:05:02 -0000 1.36 >+++ llvm/Makefile 17 Aug 2010 18:00:24 -0000 >@@ -7,6 +7,7 @@ > > PORTNAME= llvm > PORTVERSION= 2.7 >+PORTREVISION= 1 > CATEGORIES= devel lang > MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ > EXTRACT_SUFX= .tgz >@@ -38,7 +39,7 @@ > > CONFIGURE_ARGS+= --enable-bindings=none > >-OPTIONS= NO_ASSERTS "Disable assertions" off >+OPTIONS= ASSERTS "Enable assertions (thread unsafe)" off > > .if defined(NOPORTDOCS) > DOCSRCDIR= >@@ -70,10 +71,10 @@ > CONFIGURE_ARGS+= --with-optimize-option=-O2 > .endif > >-.ifdef(WITH_NO_ASSERTS) >-CONFIGURE_ARGS+= --disable-assertions >-.else >+.ifdef(WITH_ASSERTS) > CONFIGURE_ARGS+= --enable-assertions >+.else >+CONFIGURE_ARGS+= --disable-assertions > .endif > > post-patch: >Index: llvm-devel/Makefile >=================================================================== >RCS file: /home/pcvs/ports/devel/llvm-devel/Makefile,v >retrieving revision 1.46 >diff -u -r1.46 Makefile >--- llvm-devel/Makefile 17 Jun 2010 17:35:56 -0000 1.46 >+++ llvm-devel/Makefile 17 Aug 2010 18:00:25 -0000 >@@ -7,6 +7,7 @@ > > PORTNAME= llvm > DISTVERSION= 2.8.r${SVN_REV} >+PORTREVISION= 1 > CATEGORIES= devel lang > MASTER_SITES= ${MASTER_SITE_LOCAL} > MASTER_SITE_SUBDIR= brooks >@@ -47,7 +48,7 @@ > > CONFIGURE_ARGS+= --enable-bindings=none > >-OPTIONS= NO_ASSERTS "Disable assertions" off >+OPTIONS= ASSERTS "Enable assertions (thread unsafe)" off > > MAN1= bugpoint.1 clang.1 lit.1 llc.1 lli.1 llvmc.1 llvm-ar.1 \ > llvm-as.1 llvm-bcanalyzer.1 llvm-config.1 \ >@@ -78,10 +79,10 @@ > CONFIGURE_ARGS+= --with-optimize-option=-O2 > .endif > >-.ifdef(WITH_NO_ASSERTS) >-CONFIGURE_ARGS+= --disable-assertions >-.else >+.ifdef(WITH_ASSERTS) > CONFIGURE_ARGS+= --enable-assertions >+.else >+CONFIGURE_ARGS+= --disable-assertions > .endif > > .if defined(BOOTSTRAP) || defined(SVN_FETCH)
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 149746
: 108831 |
108832
Working