Fix install with ASSERTS option enabled.
Submitted by: Cary <cary@SDF.ORG>
This commit is contained in:
parent
842c5cdcb5
commit
f96a18c995
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332110
@ -85,8 +85,10 @@ STRIP_LIBS= BugpointPasses.so \
|
||||
|
||||
.if ${PORT_OPTIONS:MASSERTS}
|
||||
CONFIGURE_ARGS+= --enable-assertions
|
||||
RELEASE_TYPE= Release+Asserts
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-assertions
|
||||
RELEASE_TYPE= Release
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MCMAKE}
|
||||
@ -207,7 +209,7 @@ post-install:
|
||||
${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX}
|
||||
${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \
|
||||
${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/Release/bin/FileCheck \
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${RELEASE_TYPE}/bin/FileCheck \
|
||||
${STAGEDIR}${LLVM_PREFIX}/bin/
|
||||
${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \
|
||||
${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX}
|
||||
|
@ -89,8 +89,10 @@ CONFIGURE_ARGS+=--enable-experimental-targets=R600
|
||||
|
||||
.if ${PORT_OPTIONS:MASSERTS}
|
||||
CONFIGURE_ARGS+= --enable-assertions
|
||||
RELEASE_TYPE= Release+Asserts
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-assertions
|
||||
RELEASE_TYPE= Release
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MCMAKE}
|
||||
@ -211,7 +213,7 @@ post-install:
|
||||
${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX}
|
||||
${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \
|
||||
${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/Release/bin/FileCheck \
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${RELEASE_TYPE}/bin/FileCheck \
|
||||
${STAGEDIR}${LLVM_PREFIX}/bin/
|
||||
${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \
|
||||
${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX}
|
||||
|
Loading…
Reference in New Issue
Block a user