pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
coreclr-git: Add scratch for install target
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Sun Feb 21 15:52:44 2016 +0100
Changeset: 13ed0a097cd729fdda9dd7ce40e06015e7101c7e
Modified Files:
coreclr-git/Makefile
Log Message:
coreclr-git: Add scratch for install target
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=13ed0a097cd729fdda9dd7ce40e06015e7101c7e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
coreclr-git/Makefile | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diffs:
diff --git a/coreclr-git/Makefile b/coreclr-git/Makefile
index 8e2c182..0d4afb1 100644
--- a/coreclr-git/Makefile
+++ b/coreclr-git/Makefile
@@ -23,6 +23,13 @@ DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
CMAKE_ARGS+= -DCORECLR_SET_RPATH:BOOL=OFF
+CORECLR_PREFIX= ${PREFIX}/CoreCLR
+
+# Handle subprefix
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${CORECLR_PREFIX:Q}
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${CORECLR_PREFIX:Q}/Loader/NativeLibs
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${CORECLR_PREFIX:Q}/bin
+
do-configure:
${RUN} ${ECHO} Skip configure and call CMake via build.sh
@@ -30,9 +37,16 @@ do-build:
${RUN} cd ${WRKSRC} && \
${PKGSRC_SETENV} ${CONFIGURE_ENV} PYTHON=${PYTHONBIN:Q} ./build.sh skipmscorlib cmakeargs ${CMAKE_ARGS:Q}
+# Currently there is no unix-like install target.
+# Put all produced files under subprefix.
+do-install:
+ ${RUN} mkdir -p ${DESTDIR}${PREFIX}/CoreCLR
+ ${RUN} ${CP} -r ./bin/Product/${OPSYS}.x64.Debug/ ${DESTDIR}${CORECLR_PREFIX}
+
do-test:
${RUN} cd ${WRKSRC} && \
- ${SETENV} ${TEST_ENV} ${BASH} src/pal/tests/palsuite/runpaltests.sh ${WRKSRC}/bin/obj/NetBSD.x64.Debug ${WRKSRC}/paltestout
+ ${SETENV} ${TEST_ENV} ${BASH} src/pal/tests/palsuite/runpaltests.sh \
+ ${WRKSRC}/bin/obj/${OPSYS}.x64.Debug ${WRKSRC}/paltestout
.include "../../textproc/icu/buildlink3.mk"
.include "../../wip/llvm-git/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index