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

thin-lto optimized build configuration #250

Merged
merged 2 commits into from
Jan 5, 2023
Merged

Conversation

mikea
Copy link
Contributor

@mikea mikea commented Jan 5, 2023

To use:
bazel run --config=thin-lto //src/workerd/server:workerd

Requires clang-15 and related packages installed from llvm apt repository.

To use:
  bazel run --config=thin-lto //src/workerd/server:workerd

Requires clang-15 and related packages installed from llvm apt
repository.
@mikea mikea requested a review from kentonv January 5, 2023 16:40
@@ -138,7 +138,7 @@ rules_rust_dependencies()

rust_register_toolchains(
edition = "2018",
version = "1.58.0",
version = "1.66.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

need recent toolchain that can consume llvm15 bytecode

Copy link
Member

@jasnell jasnell left a comment

Choose a reason for hiding this comment

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

Might be worth adding details to the readme also?

@mikea
Copy link
Contributor Author

mikea commented Jan 5, 2023

Might be worth adding details to the readme also?

done

@mikea mikea merged commit a253a3e into main Jan 5, 2023
@mikea mikea deleted the maizatskyi/2023-01-05-lto branch January 5, 2023 19:02
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.

2 participants