Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
106
Merge Requests
106
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
c87abe0a
Commit
c87abe0a
authored
Sep 10, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into master+ZODB4-wc2
* master: golang: Build SWIG and include it into Go build environment
parents
4aedd717
762daa2c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
component/golang/buildout.cfg
component/golang/buildout.cfg
+2
-0
component/golang/buildout.hash.cfg
component/golang/buildout.hash.cfg
+1
-1
component/golang/goenv.sh.in
component/golang/goenv.sh.in
+1
-1
No files found.
component/golang/buildout.cfg
View file @
c87abe0a
...
@@ -5,6 +5,7 @@ extends =
...
@@ -5,6 +5,7 @@ extends =
../gcc/buildout.cfg
../gcc/buildout.cfg
../git/buildout.cfg
../git/buildout.cfg
../pkgconfig/buildout.cfg
../pkgconfig/buildout.cfg
../swig/buildout.cfg
./buildout.hash.cfg
./buildout.hash.cfg
parts = gowork go
parts = gowork go
...
@@ -21,6 +22,7 @@ make-targets= cd src && unset GOBIN && ./all.bash && cp -alf .. ${:location}
...
@@ -21,6 +22,7 @@ make-targets= cd src && unset GOBIN && ./all.bash && cp -alf .. ${:location}
# some testdata files have an issue with slapos.extension.strip.
# some testdata files have an issue with slapos.extension.strip.
post-install = ${findutils:location}/bin/find ${:location}/src -type d -name testdata -exec rm -rf {} \; || true
post-install = ${findutils:location}/bin/find ${:location}/src -type d -name testdata -exec rm -rf {} \; || true
environment =
environment =
PATH=${swig:location}/bin:%(PATH)s
GOROOT_FINAL=${:location}
GOROOT_FINAL=${:location}
${:environment-extra}
${:environment-extra}
...
...
component/golang/buildout.hash.cfg
View file @
c87abe0a
...
@@ -15,4 +15,4 @@
...
@@ -15,4 +15,4 @@
[gowork-env.sh]
[gowork-env.sh]
filename = goenv.sh.in
filename = goenv.sh.in
md5sum =
f6d0fc24e3f08f27bc2bd85003ca5ec2
md5sum =
67a211c786a2351867c3c38f675370f7
component/golang/goenv.sh.in
View file @
c87abe0a
...
@@ -14,7 +14,7 @@ done <<-EOF
...
@@ -14,7 +14,7 @@ done <<-EOF
EOF
EOF
# PATH so that go & friends work out of the box
# PATH so that go & friends work out of the box
export PATH=${gowork:golang}/bin:${git:location}/bin:${pkgconfig:location}/bin:${buildout:bin-directory}:${gcc:prefix}/bin:$PATH
export PATH=${gowork:golang}/bin:${git:location}/bin:${pkgconfig:location}/bin:${buildout:bin-directory}:${gcc:prefix}/bin:$
{swig:location}/bin:$
PATH
X=${gowork:directory}
X=${gowork:directory}
export PKG_CONFIG_PATH=$(echo -n "${gowork:cpkgpath}" |tr '\n' ':'):$PKG_CONFIG_PATH
export PKG_CONFIG_PATH=$(echo -n "${gowork:cpkgpath}" |tr '\n' ':'):$PKG_CONFIG_PATH
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment