Install missing components of llvm-lit.
PR: 190562 MFH: 2014Q2
This commit is contained in:
parent
adb28c1be8
commit
7c994ce280
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358146
2 changed files with 15 additions and 3 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
PORTNAME= llvm
|
||||
PORTVERSION= 3.4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel lang
|
||||
MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
|
||||
|
@ -155,7 +156,8 @@ post-patch:
|
|||
${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \
|
||||
-e 's|from lit|from lit${LLVM_SUFFIX}|' \
|
||||
-e 's|lit\.|lit${LLVM_SUFFIX}.|' \
|
||||
${WRKSRC}/utils/lit/lit.py ${WRKSRC}/utils/lit/lit/*.py
|
||||
${WRKSRC}/utils/lit/lit.py ${WRKSRC}/utils/lit/lit/*.py \
|
||||
${WRKSRC}/utils/lit/lit/formats/*.py
|
||||
|
||||
.if ${PORT_OPTIONS:MCMAKE}
|
||||
post-configure:
|
||||
|
@ -209,6 +211,9 @@ post-install:
|
|||
${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX}
|
||||
${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \
|
||||
${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX}
|
||||
${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX}/formats
|
||||
${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/formats/*.py \
|
||||
${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX}/formats
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${RELEASE_TYPE}/bin/FileCheck \
|
||||
${STAGEDIR}${LLVM_PREFIX}/bin/
|
||||
${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \
|
||||
|
@ -259,6 +264,8 @@ build-plist:
|
|||
-e 's|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|' >> ${PLIST}
|
||||
echo "%%LIT%%@dirrm %%PYTHON_SITELIBDIR%%/lit%%LLVM_SUFFIX%%" >> \
|
||||
${PLIST}
|
||||
echo "%%LIT%%@dirrm %%PYTHON_SITELIBDIR%%/lit%%LLVM_SUFFIX%%/formats" >> \
|
||||
${PLIST}
|
||||
${FIND} ${STAGEDIR}${DOCSDIR} -type d | \
|
||||
${SED} -e 's|${STAGEDIR}${DOCSDIR}|%%PORTDOCS%%@dirrm %%DOCSDIR%%|' | \
|
||||
${SORT} -r >> ${PLIST}
|
||||
|
|
|
@ -628,8 +628,8 @@ llvm%%LLVM_SUFFIX%%/include/llvm/Transforms/Utils/ValueMapper.h
|
|||
llvm%%LLVM_SUFFIX%%/include/llvm/Transforms/Vectorize.h
|
||||
llvm%%LLVM_SUFFIX%%/lib/BugpointPasses.so
|
||||
llvm%%LLVM_SUFFIX%%/lib/LLVMHello.so
|
||||
llvm%%LLVM_SUFFIX%%/lib/libLLVM-3.4.so
|
||||
llvm%%LLVM_SUFFIX%%/lib/libLLVM-3.4.so.0
|
||||
llvm%%LLVM_SUFFIX%%/lib/libLLVM-%%PORTVERSION%%.so
|
||||
llvm%%LLVM_SUFFIX%%/lib/libLLVM-%%PORTVERSION%%.so.0
|
||||
llvm%%LLVM_SUFFIX%%/lib/libLLVMAArch64AsmParser.a
|
||||
llvm%%LLVM_SUFFIX%%/lib/libLLVMAArch64AsmPrinter.a
|
||||
llvm%%LLVM_SUFFIX%%/lib/libLLVMAArch64CodeGen.a
|
||||
|
@ -738,6 +738,10 @@ llvm%%LLVM_SUFFIX%%/lib/libLTO.so
|
|||
%%LIT%%%%PYTHON_SITELIBDIR%%/lit%%LLVM_SUFFIX%%/TestingConfig.py
|
||||
%%LIT%%%%PYTHON_SITELIBDIR%%/lit%%LLVM_SUFFIX%%/__init__.py
|
||||
%%LIT%%%%PYTHON_SITELIBDIR%%/lit%%LLVM_SUFFIX%%/discovery.py
|
||||
%%LIT%%%%PYTHON_SITELIBDIR%%/lit%%LLVM_SUFFIX%%/formats/__init__.py
|
||||
%%LIT%%%%PYTHON_SITELIBDIR%%/lit%%LLVM_SUFFIX%%/formats/base.py
|
||||
%%LIT%%%%PYTHON_SITELIBDIR%%/lit%%LLVM_SUFFIX%%/formats/googletest.py
|
||||
%%LIT%%%%PYTHON_SITELIBDIR%%/lit%%LLVM_SUFFIX%%/formats/shtest.py
|
||||
%%LIT%%%%PYTHON_SITELIBDIR%%/lit%%LLVM_SUFFIX%%/main.py
|
||||
%%LIT%%%%PYTHON_SITELIBDIR%%/lit%%LLVM_SUFFIX%%/run.py
|
||||
%%LIT%%%%PYTHON_SITELIBDIR%%/lit%%LLVM_SUFFIX%%/util.py
|
||||
|
@ -1003,5 +1007,6 @@ llvm%%LLVM_SUFFIX%%/lib/libLTO.so
|
|||
@dirrm llvm%%LLVM_SUFFIX%%/bin
|
||||
@dirrm llvm%%LLVM_SUFFIX%%
|
||||
%%LIT%%@dirrm %%PYTHON_SITELIBDIR%%/lit%%LLVM_SUFFIX%%
|
||||
%%LIT%%@dirrm %%PYTHON_SITELIBDIR%%/lit%%LLVM_SUFFIX%%/formats
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
|
Loading…
Reference in a new issue