Date: Mon, 27 Apr 2020 16:50:50 +0000 (UTC) From: =?UTF-8?Q?Lo=c3=afc_Bartoletti?= <lbartoletti@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r533154 - head/lang/nim Message-ID: <202004271650.03RGoosv008753@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004271650.03RGoosv008753>