Makefile: parse TENDERMINT_BUILD_OPTIONS#4738
Merged
Conversation
Reduce the number of targets and make the buildsystem more flexible by parsing the TENDERMINT_BUILD_OPTIONS command line variable (a-la Debian, inspired by dpkg-buildpackage's DEB_BUILD_OPTIONS), e.g: $ make install TENDERMINT_BUILD_OPTIONS='cleveldb' replaces the old: $ make install_c Options can be mix&match'd, e.g.: $ make install TENDERMINT_BUILD_OPTIONS='cleveldb race nostrip' Three options are available: - nostrip: don't strip debugging symbols nor DWARF tables. - cleveldb: use cleveldb as db backend instead of goleveldb; it switches on the CGO_ENABLED Go environment variale. - race: pass -race to go build and enable data race detection. This changeset is a port of gaia pull request: cosmos/gaia#363
70276e2 to
56f440e
Compare
Contributor
|
I like it! 👍 Do we need to update any scripts or documentation or anything? |
tac0turtle
approved these changes
Apr 25, 2020
Contributor
tac0turtle
left a comment
There was a problem hiding this comment.
nice!!
could we just add a few sentences here https://docs.tendermint.com/master/introduction/install.html#compile
Codecov Report
@@ Coverage Diff @@
## master #4738 +/- ##
==========================================
- Coverage 64.52% 64.51% -0.01%
==========================================
Files 228 228
Lines 20696 20696
==========================================
- Hits 13354 13353 -1
Misses 6257 6257
- Partials 1085 1086 +1
|
Contributor
Author
I'm taking a look at docker files, etc. Expect few additional commits (and a CHANGELOG entry, I guess it might be worth it) |
added 4 commits
April 25, 2020 15:56
Contributor
Author
|
Alright, I've updated docs and CHANGELOG_PENDING.md. Wrt CONTRIBUTING.md, I'm not sure about what the next version is going be, so I didn't update it. |
melekes
reviewed
Apr 27, 2020
Contributor
|
tACK |
erikgrinaker
pushed a commit
that referenced
this pull request
May 26, 2020
Reduce the number of targets and make the buildsystem more flexible by parsing the TENDERMINT_BUILD_OPTIONS command line variable (a-la Debian, inspired by dpkg-buildpackage's DEB_BUILD_OPTIONS), e.g: $ make install TENDERMINT_BUILD_OPTIONS='cleveldb' replaces the old: $ make install_c Options can be mix&match'd, e.g.: $ make install TENDERMINT_BUILD_OPTIONS='cleveldb race nostrip' Three options are available: - nostrip: don't strip debugging symbols nor DWARF tables. - cleveldb: use cleveldb as db backend instead of goleveldb; it switches on the CGO_ENABLED Go environment variale. - race: pass -race to go build and enable data race detection. This changeset is a port of gaia pull request: cosmos/gaia#363.
erikgrinaker
added a commit
that referenced
this pull request
May 26, 2020
Reduce the number of targets and make the buildsystem more flexible by parsing the TENDERMINT_BUILD_OPTIONS command line variable (a-la Debian, inspired by dpkg-buildpackage's DEB_BUILD_OPTIONS), e.g: $ make install TENDERMINT_BUILD_OPTIONS='cleveldb' replaces the old: $ make install_c Options can be mix&match'd, e.g.: $ make install TENDERMINT_BUILD_OPTIONS='cleveldb race nostrip' Three options are available: - nostrip: don't strip debugging symbols nor DWARF tables. - cleveldb: use cleveldb as db backend instead of goleveldb; it switches on the CGO_ENABLED Go environment variale. - race: pass -race to go build and enable data race detection. This changeset is a port of gaia pull request: cosmos/gaia#363. Co-authored-by: Alessio Treglia <alessio@tendermint.com>
tessr
pushed a commit
that referenced
this pull request
May 28, 2020
Reduce the number of targets and make the buildsystem more flexible by parsing the TENDERMINT_BUILD_OPTIONS command line variable (a-la Debian, inspired by dpkg-buildpackage's DEB_BUILD_OPTIONS), e.g: $ make install TENDERMINT_BUILD_OPTIONS='cleveldb' replaces the old: $ make install_c Options can be mix&match'd, e.g.: $ make install TENDERMINT_BUILD_OPTIONS='cleveldb race nostrip' Three options are available: - nostrip: don't strip debugging symbols nor DWARF tables. - cleveldb: use cleveldb as db backend instead of goleveldb; it switches on the CGO_ENABLED Go environment variale. - race: pass -race to go build and enable data race detection. This changeset is a port of gaia pull request: cosmos/gaia#363. Co-authored-by: Alessio Treglia <alessio@tendermint.com>
alessio
pushed a commit
to cosmos/cosmos-sdk
that referenced
this pull request
Jul 7, 2020
Look for build options in the make's COSMOS_BUILD_OPTIONS variable. This allows one to build simd with ledger support. References: * cosmos/gaia#363 * tendermint/tendermint#4738
9 tasks
alessio
pushed a commit
to cosmos/cosmos-sdk
that referenced
this pull request
Jul 7, 2020
Makefile: parse COSMOS_BUILD_OPTIONS Look for build options in the make's COSMOS_BUILD_OPTIONS variable. This allows one to build simd with ledger support. References: * cosmos/gaia#363 * tendermint/tendermint#4738 fix tiny typo in nolint: statement that causes golangci-lint to misbehave.
daeMOn63
pushed a commit
to fetchai/cosmos-sdk
that referenced
this pull request
May 5, 2021
Makefile: parse COSMOS_BUILD_OPTIONS Look for build options in the make's COSMOS_BUILD_OPTIONS variable. This allows one to build simd with ledger support. References: * cosmos/gaia#363 * tendermint/tendermint#4738 fix tiny typo in nolint: statement that causes golangci-lint to misbehave.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reduce the number of targets and make the buildsystem more
flexible by parsing the TENDERMINT_BUILD_OPTIONS command
line variable (a-la Debian, inspired by dpkg-buildpackage's
DEB_BUILD_OPTIONS), e.g:
$ make install TENDERMINT_BUILD_OPTIONS='cleveldb'
replaces the old:
$ make install_c
Options can be mix&match'd, e.g.:
$ make install TENDERMINT_BUILD_OPTIONS='cleveldb race nostrip'
Three options are available:
it switches on the CGO_ENABLED Go environment variale.
This changeset is a port of gaia pull request: cosmos/gaia#363
For contributor use:
docs/) and code commentsFiles changedin the Github PR explorer