svn commit: r533154 - head/lang/nim
Loïc Bartoletti
lbartoletti at FreeBSD.org
Mon Apr 27 16:50:50 UTC 2020
Author: lbartoletti
Date: Mon Apr 27 16:50:49 2020
New Revision: 533154
URL: https://svnweb.freebsd.org/changeset/ports/533154
Log:
lang/nim: Fix the build of lang/nim within poudriere:
- Make sure we use specified build caches for all build commands (this was causing the poudriere testport to fail for the tools build).
- Ensure that devel/nimble is not built as part of this port by using the koch toolsToNimble command instead of koch tools. If left to it's own devices the koch tools command will download nimble from git and build it itself.
PR: 245789
Submitted by: Neal Nelson
Reviewed by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D24585
Modified:
head/lang/nim/Makefile
Modified: head/lang/nim/Makefile
==============================================================================
--- head/lang/nim/Makefile Mon Apr 27 16:42:00 2020 (r533153)
+++ head/lang/nim/Makefile Mon Apr 27 16:50:49 2020 (r533154)
@@ -45,13 +45,14 @@ do-build:
cd ${WRKSRC} && ${SETENV} CC="${CC}" LINKER="${CC}" \
COMP_FLAGS="${CPPFLAGS} ${CFLAGS}" LINK_FLAGS="${LDFLAGS}" \
${SH} build.sh
- cd ${WRKSRC} && bin/nim c --parallelBuild=${MAKE_JOBS_NUMBER} --nimcache=${WRKSRC}/nimcache koch
+ cd ${WRKSRC} && bin/nim c --parallelBuild=${MAKE_JOBS_NUMBER} \
+ --nimcache=${WRKDIR}/nimcache koch
cd ${WRKSRC} && ./koch boot --parallelBuild=${MAKE_JOBS_NUMBER} \
- -d:release
+ -d:release --nimcache=${WRKDIR}/nimcache
do-build-TOOLS-on:
- cd ${WRKSRC} && ./koch tools --parallelBuild=${MAKE_JOBS_NUMBER} \
- -d:release
+ cd ${WRKSRC} && ./koch toolsNoNimble --parallelBuild=${MAKE_JOBS_NUMBER} \
+ -d:release --nimcache=${WRKDIR}/nimcache
do-install:
cd ${WRKSRC} && ${SH} install.sh ${STAGEDIR}${PREFIX}
More information about the svn-ports-all
mailing list