Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
burrow
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hang Yu
burrow
Commits
bd67d8e5
Unverified
Commit
bd67d8e5
authored
8 years ago
by
Benjamin Bollen
Browse files
Options
Downloads
Patches
Plain Diff
make: add build with race conditions checked
parent
33996b4a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+19
-0
19 additions, 0 deletions
Makefile
with
19 additions
and
0 deletions
Makefile
+
19
−
0
View file @
bd67d8e5
...
...
@@ -51,6 +51,10 @@ vet:
.PHONY
:
build
build
:
build_db build_client build_keys
# build all targets in github.com/eris-ltd/eris-db with checks for race conditions
.PHONY
:
build_race
build_race
:
build_race_db build_race_client build_race_keys
# build eris-db
.PHONY
:
build_db
build_db
:
...
...
@@ -65,3 +69,18 @@ build_client:
.PHONY
:
build_keys
build_keys
:
@
echo
"Marmots need to complete moving repository eris-keys into eris-db."
# build eris-db with checks for race conditions
.PHONY
:
build_race_db
build_race_db
:
go build
-race
-o
${
BUILD_DIR
}
/eris-db ./cmd/eris-db
# build eris-client with checks for race conditions
.PHONY
:
build_race_client
build_race_client
:
go build
-race
-o
${
BUILD_DIR
}
/eris-client ./client/cmd/eris-client
# build eris-keys with checks for race conditions
.PHONY
:
build_race_keys
build_race_keys
:
@
echo
"Marmots need to complete moving repository eris-keys into eris-db."
\ No newline at end of file
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