From 1b71a304f661c58ecd31b6e3eb71c9cb1bc8eab4 Mon Sep 17 00:00:00 2001 From: caubet_m Date: Thu, 12 Jan 2023 10:22:46 +0100 Subject: [PATCH] Update Go module --- Programming/go/build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Programming/go/build b/Programming/go/build index c596a09..e978d8d 100755 --- a/Programming/go/build +++ b/Programming/go/build @@ -8,10 +8,14 @@ pbuild::install_docfiles 'CONTRIBUTING.md' 'LICENSE' 'PATENTS' 'README.md' 'SEC pbuild::compile_in_sourcetree pbuild::compile() { + export GOROOT_FINAL=${PREFIX} + export GOMAXPROCS=8 cd src ./all.bash + cd .. } pbuild::install() { - : + rsync -av --exclude "pkg/obj/*" . "${PREFIX}" } +