Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Makefile for gaia #4110

Merged
merged 5 commits into from
Apr 15, 2019
Merged

New Makefile for gaia #4110

merged 5 commits into from
Apr 15, 2019

Conversation

alessio
Copy link
Contributor

@alessio alessio commented Apr 13, 2019

Amend targets naming convention as per [1]:

  • Switch from underscore '_' separated naming scheme to dash '-'
    separated naming scheme.
  • Replace test with check.

Simulations now live in their own Make module.

[1] https://www.gnu.org/prep/standards/html_node/Standard-Targets.html

Closes: #4102

  • Linked to github-issue with discussion and accepted design OR link to spec that describes this work.
  • Wrote tests
  • Updated relevant documentation (docs/)
  • Added a relevant changelog entry: sdkch add [section] [stanza] [message]
  • rereviewed Files changed in the github PR explorer

For Admin Use:

  • Added appropriate labels to PR (ex. wip, ready-for-review, docs)
  • Reviewers Assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

@codecov
Copy link

codecov bot commented Apr 13, 2019

Codecov Report

Merging #4110 into develop will increase coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #4110      +/-   ##
===========================================
+ Coverage    59.97%   60.01%   +0.03%     
===========================================
  Files          211      211              
  Lines        15111    15111              
===========================================
+ Hits          9063     9069       +6     
+ Misses        5428     5422       -6     
  Partials       620      620

Amend targets naming convention as per [1]:
- Switch from underscore '_' separated naming scheme to dash '-'
  separated naming scheme.
- Replace test with check.

Simulations now live in their own Make module.

[1] https://www.gnu.org/prep/standards/html_node/Standard-Targets.html
@alessio alessio force-pushed the alessio/gaia-makefile branch from 5496dc2 to 22821c9 Compare April 13, 2019 13:02
@alessio alessio marked this pull request as ready for review April 13, 2019 13:03
########################################
### Simulations

sim-gaia-nondeterminism:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There aren't meant to be actually executable atm, correct?

cd cmd/gaia; make sim-gaia-fast

Running quick Gaia simulation. This may take several minutes...
can't load package: package github.com/cosmos/cosmos-sdk/cmd/gaia/cmd/gaia/app: unknown import path "github.com/cosmos/cosmos-sdk/cmd/gaia/cmd/gaia/app": cannot find package
make: *** [sim-gaia-fast] Error 1

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, not quite yet. I've dropped them there as prep work for next iteration.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to fix them anyway

@alessio alessio force-pushed the alessio/gaia-makefile branch from 80e2173 to eb617d0 Compare April 13, 2019 18:07
@alexanderbez
Copy link
Contributor

Looks like this is failing test_sim_gaia_simulation_after_import @alessio?

@alessio
Copy link
Contributor Author

alessio commented Apr 15, 2019

@alexanderbez but it doesn't look like the failure is caused by the Makefile changes

Copy link
Collaborator

@fedekunze fedekunze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

@alessio alessio merged commit 74ea92a into develop Apr 15, 2019
@alessio alessio deleted the alessio/gaia-makefile branch April 15, 2019 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide gaia with a standalone Makefile
3 participants