Commit 6dd763d
committed
feat(build): Add multi-architecture optimized Bazel build configuration
* scripts/apollo_build.sh:
- Implement architecture-aware compilation flags:
* aarch64: Enable native instruction set optimization (-march=native)
* x86_64: Enable AVX2 instruction set optimization (-mavx2)
- Unified resource control strategy:
* Parallel jobs: $(nproc)
* Memory constraints: HOST_RAM*0.7
- Maintain backward compatibility for build command interfaces1 parent f45e5e2 commit 6dd763d
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
251 | 256 | | |
252 | 257 | | |
253 | 258 | | |
| |||
0 commit comments