Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
quant
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danet
quant
Commits
0221ff67
Commit
0221ff67
authored
1 year ago
by
Neil-Jocelyn Schark
Browse files
Options
Downloads
Patches
Plain Diff
statically build go by disabling build of CGO
parent
64bab47e
No related branches found
No related tags found
2 merge requests
!152
Draft: Scratch container
,
!151
Statically linked binaries
Pipeline
#205979
passed
1 year ago
Stage: build
Stage: test
Stage: analyze
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+2
-2
2 additions, 2 deletions
Makefile
with
2 additions
and
2 deletions
Makefile
+
2
−
2
View file @
0221ff67
...
@@ -11,7 +11,7 @@ GOBIN := $(GOSDN_PRG)
...
@@ -11,7 +11,7 @@ GOBIN := $(GOSDN_PRG)
GOLANG_VERSION
:=
1.22
GOLANG_VERSION
:=
1.22
GOLANGCI_LINT_VERSION
=
v1.59.1
GOLANGCI_LINT_VERSION
=
v1.59.1
GOCMD
=
go
GOCMD
=
CGO_ENABLED
=
0
go
GOBUILD
=
$(
GOCMD
)
build
GOBUILD
=
$(
GOCMD
)
build
GOCLEAN
=
$(
GOCMD
)
clean
-cache
-fuzzcache
-testcache
-modcache
GOCLEAN
=
$(
GOCMD
)
clean
-cache
-fuzzcache
-testcache
-modcache
BUILD_ARTIFACTS_PATH
=
artifacts
BUILD_ARTIFACTS_PATH
=
artifacts
...
@@ -47,7 +47,7 @@ unit-test:
...
@@ -47,7 +47,7 @@ unit-test:
build
:
build-gokms build-quantumlayer build-etsi14module build-akms-simulator
build
:
build-gokms build-quantumlayer build-etsi14module build-akms-simulator
build-gokms
:
pre
build-gokms
:
pre
CGO_ENABLED
=
0
$(
GOBUILD
)
-o
$(
BUILD_ARTIFACTS_PATH
)
/goKMS ./goKMS/main.go
$(
GOBUILD
)
-o
$(
BUILD_ARTIFACTS_PATH
)
/goKMS ./goKMS/main.go
build-quantumlayer
:
pre
build-quantumlayer
:
pre
$(
GOBUILD
)
-o
$(
BUILD_ARTIFACTS_PATH
)
/quantumlayer ./quantumlayer/main/main.go
$(
GOBUILD
)
-o
$(
BUILD_ARTIFACTS_PATH
)
/quantumlayer ./quantumlayer/main/main.go
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment