Skip to content

Conversation

ludgerpaehler
Copy link
Contributor

Refactor the existing Dockerfile into language-specific Dockerfiles, laying the groundwork for adding the other builders. Namely:

  • Dockerfile.cpp_env
  • Dockerfile.julia_env
  • Dockerfile.rust_env
  • Dockerfile.swift_env

Dockerfile.c_env points at the C++ Dockerfile, but yet exists for continuity's sake.

The list of system-dependencies was pruned in the process.

cc @lwshanbd @jdoerfert

@ludgerpaehler ludgerpaehler requested a review from lwshanbd June 2, 2025 05:41
@ludgerpaehler ludgerpaehler self-assigned this Jun 2, 2025
@ludgerpaehler ludgerpaehler added the enhancement New feature or request label Jun 2, 2025
Copy link

vercel bot commented Jun 2, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
llvm-ir-dataset-utils ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 2, 2025 5:41am

@ludgerpaehler ludgerpaehler linked an issue Jun 2, 2025 that may be closed by this pull request
12 tasks
@@ -0,0 +1 @@
Dockerfile.cpp_env No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think C and C++ need a separate container. It's not even possible to build clang with support for only one or the other and system packages between them will probably have a large amount of overlap.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

C is only a symbolic link to the C++ container, but just having it in there for continuity's sake s.t. every language has its own container..

Copy link
Contributor

Choose a reason for hiding this comment

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

Why though? We collect C and C++ from the same builders (spack and Gentoo, although Gentoo needs its own container).

@boomanaiden154
Copy link
Contributor

The list of system-dependencies was pruned in the process.

Have you validated that packages still build? The list of dependencies was long in the first place because it increased the percentage of packages that would build. I don't think I ever kept exact notes of what needed what though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Split Dockerfile by Builder
2 participants