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

feat(native_blockifier): make cairo_native a feature of native blockifier #2625

Open
wants to merge 1 commit into
base: 12-10-fix_native_blockifier_activate_testing_feature_only_in_dev_dependencies
Choose a base branch
from

Conversation

dorimedini-starkware
Copy link
Collaborator

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Collaborator Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link

github-actions bot commented Dec 10, 2024

Copy link

codecov bot commented Dec 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (12-10-fix_native_blockifier_activate_testing_feature_only_in_dev_dependencies@06da31a). Learn more about missing BASE report.

Additional details and impacted files
@@                                               Coverage Diff                                               @@
##             12-10-fix_native_blockifier_activate_testing_feature_only_in_dev_dependencies   #2625   +/-   ##
===============================================================================================================
  Coverage                                                                                 ?   9.73%           
===============================================================================================================
  Files                                                                                    ?     133           
  Lines                                                                                    ?   17499           
  Branches                                                                                 ?   17499           
===============================================================================================================
  Hits                                                                                     ?    1703           
  Misses                                                                                   ?   15455           
  Partials                                                                                 ?     341           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dorimedini-starkware dorimedini-starkware self-assigned this Dec 10, 2024
@dorimedini-starkware dorimedini-starkware force-pushed the 12-10-fix_native_blockifier_activate_testing_feature_only_in_dev_dependencies branch from 87f762c to 5522b07 Compare December 10, 2024 12:15
@dorimedini-starkware dorimedini-starkware force-pushed the 12-10-feat_native_blockifier_make_cairo_native_a_feature_of_native_blockifier branch from f0a0b89 to 90901bb Compare December 10, 2024 12:15
Copy link
Collaborator

@noaov1 noaov1 left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @dorimedini-starkware and @Yoni-Starkware)


scripts/build_native_blockifier.sh line 19 at r1 (raw file):

    pypy3.9 -m venv /tmp/venv
    source /tmp/venv/bin/activate
    cargo build --release -p native_blockifier --features "cairo_native" || clean

Do we also want to add it to the ci? I.e., building native blockifier with the cairo_native feature?

Code quote:

cargo build --release -p native_blockifier --features "cairo_native" 

crates/native_blockifier/Cargo.toml line 10 at r1 (raw file):

[features]
cairo_native = ["blockifier/cairo_native"]

Like :)

Code quote:

cairo_native = ["blockifier/cairo_native"]

Copy link
Collaborator Author

@dorimedini-starkware dorimedini-starkware left a comment

Choose a reason for hiding this comment

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

Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @noaov1 and @Yoni-Starkware)


scripts/build_native_blockifier.sh line 19 at r1 (raw file):

Previously, noaov1 (Noa Oved) wrote…

Do we also want to add it to the ci? I.e., building native blockifier with the cairo_native feature?

this is the script the CI runs for the native blockifier build :)

@dorimedini-starkware dorimedini-starkware force-pushed the 12-10-fix_native_blockifier_activate_testing_feature_only_in_dev_dependencies branch from 5522b07 to db2cbb1 Compare December 10, 2024 14:21
@dorimedini-starkware dorimedini-starkware force-pushed the 12-10-feat_native_blockifier_make_cairo_native_a_feature_of_native_blockifier branch from 90901bb to 301d797 Compare December 10, 2024 14:22
Copy link
Collaborator

@noaov1 noaov1 left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @Yoni-Starkware)


scripts/build_native_blockifier.sh line 19 at r1 (raw file):

Previously, dorimedini-starkware wrote…

this is the script the CI runs for the native blockifier build :)

Got it :) What about cargo test?

@dorimedini-starkware dorimedini-starkware force-pushed the 12-10-fix_native_blockifier_activate_testing_feature_only_in_dev_dependencies branch from db2cbb1 to 06da31a Compare December 10, 2024 16:07
@dorimedini-starkware dorimedini-starkware force-pushed the 12-10-feat_native_blockifier_make_cairo_native_a_feature_of_native_blockifier branch from 301d797 to 40d927e Compare December 10, 2024 16:07
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.

3 participants