Commit 20eeb07
refactor: modernize Makefile build system for new architecture
Update both the root Makefile and .devcontainer/Makefile to support
the new modular architecture:
Root Makefile changes:
- Restructure with clear sections (system, buildtime, versions, naming, runtime)
- Add new image naming: base, cpu, cuda, rocm (replacing old triton-* names)
- Add comprehensive runtime configuration options for all frameworks
- Add support for INSTALL_* variables for modular framework setup
- Add new build targets for base, cpu, cuda, rocm images
- Add new run targets for all framework/variant combinations
- Improve documentation and organization
.devcontainer/Makefile changes:
- Update VARIANTS to use new naming: cpu, cuda, rocm
- Update clean targets for new generated file names
Benefits:
- Clearer organization with well-defined sections
- Support for new modular setup scripts
- More flexible runtime configuration
- Better naming that reflects actual hardware support
- Improved maintainability
This modernization integrates with the new Dockerfiles from PR redhat-et#121
and leverages the modular scripts from PRs redhat-et#115-120.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 0a65511 commit 20eeb07
2 files changed
+322
-137
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments