Skip to content

Use cpu=native and fix potential CICD errors #54

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

Merged
merged 10 commits into from
May 24, 2024
Merged

Conversation

julian-bcw
Copy link
Collaborator

@julian-bcw julian-bcw commented May 23, 2024

  1. Stops caching across builds.
    • This is necessary so that we can use cpu=native and safely change GCP machines.
  2. Adds cpu=native to .cargo/config.toml for microarchitectural optimizations in worker, leader, coordinator.
  3. Installs clang-16 as system dependency in worker, leader, and coordinator Dockerfiles.
  4. Adds linker = "clang" to .cargo/Config.toml for x86-64 Linux builds
    • This prevents linking errors with the gcc linker.
  5. Enables verbose logging for the cargo build commands in Dockerfiles.

@patrick-bcw patrick-bcw merged commit f047bc1 into develop May 24, 2024
2 of 3 checks passed
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