Files
Strata/tools/docker
Niko1221 6b74e749ae packaging: every Linux CUDA package carries licenses/ (libgomp and libatomic notices)
collect_libs.py bundles libatomic.so.1 and libgomp.so.1 from the build machine
without a flag and writes their notices to <out>/licenses/. package_engine.py
without --tree packs top-level files only, so the notice reaches the package
only with --include 'licenses/*'. The Inkling stage of Dockerfile.src has it
since the previous commit; this adds it to the other packagers that run
collect_libs.py and package_engine.py:

- tools/docker/Dockerfile.src: the engine and Hy4 packages
- tools/packaging/build_cuda_linux.sh, build_cuda_linux_aarch64.sh
  (aarch64 packs what engine/spark/build_engine.sh collected)

A package without a licenses folder is unchanged (the glob matches nothing).

Tests: test_engine_deps_linux checks libgomp.so.1 is on the bundle list with
its notice; test_bundle_system_notices checks every package script that calls
collect_libs.py, and all three package_engine calls in Dockerfile.src, pass
--include 'licenses/*'.
2026-11-26 23:04:55 +01:00
..