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(hydroflow_plus): use trybuild to compile subgraph binaries #1398

Merged
merged 1 commit into from
Aug 21, 2024
Merged

Conversation

shadaj
Copy link
Member

@shadaj shadaj commented Aug 14, 2024

Fixes #1307

Copy link

cloudflare-workers-and-pages bot commented Aug 14, 2024

Deploying hydroflow with  Cloudflare Pages  Cloudflare Pages

Latest commit: d4134d2
Status: ✅  Deploy successful!
Preview URL: https://0f7429b1.hydroflow.pages.dev
Branch Preview URL: https://pr1398.hydroflow.pages.dev

View logs

@shadaj
Copy link
Member Author

shadaj commented Aug 19, 2024

For now, to compile in release mode you must manually provide the appropriate rustc flags. I'm going to leave supporting Cargo profiles to a later PR, that requires much more work.

@MingweiSamuel
Copy link
Member

For now, to compile in release mode you must manually provide the appropriate rustc flags. I'm going to leave supporting Cargo profiles to a later PR, that requires much more work.

#1400

@shadaj shadaj force-pushed the pr1398 branch 4 times, most recently from 87e9a4a to beb7568 Compare August 20, 2024 20:18
Copy link
Member

@MingweiSamuel MingweiSamuel left a comment

Choose a reason for hiding this comment

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

exciting!

Comment on lines +282 to +285
None, // Python API doesn't support rustflags
None, // Python API doesn't support target_dir
false, // Python API doesn't support no_default_features
None, // Python API doesn't support perf
Copy link
Member

Choose a reason for hiding this comment

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

are we keeping the python API around?

Copy link
Member Author

Choose a reason for hiding this comment

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

I guess for now... not super sure if we care to maintain it going forward though. Probably a separate discussion to have.

hydroflow_plus_test/examples/perf_compute_pi.rs Outdated Show resolved Hide resolved
shadaj added a commit that referenced this pull request Aug 21, 2024
…disable cloning (#1404)

Cloning was unsafe because values behind a `Rc<RefCell<...>>` in the
case of tee would be entangled with the old IR.
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with
[ReviewStack](https://reviewstack.dev/hydro-project/hydroflow/pull/1404).
* #1405
* #1398
* __->__ #1404
@shadaj shadaj force-pushed the pr1398 branch 5 times, most recently from e3bb4a7 to a3456c5 Compare August 21, 2024 21:07
@shadaj shadaj merged commit 46a8a2c into main Aug 21, 2024
29 checks passed
@shadaj shadaj deleted the pr1398 branch August 21, 2024 22:10
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.

Use trybuild-esque build process for Hydroflow+
2 participants