codeql icon indicating copy to clipboard operation
codeql copied to clipboard

Bazel: add codeql specific packaging library

Open redsun82 opened this issue 1 year ago • 0 comments

This encapsulate arch specific logic, local installation and separation of zip files into generic and arch-specific parts as required by the internal build. Moreover, it introduces codeql_pkg_zip_import, which allows to add a .zip file to the pack in a highly optimized way:

  • when installing the pack, ripunzip will be used to unzip the zip file contents to the destination directory
  • when creating a zip file of the pack, a special purpose zipmerge (ported from the internal repository) merges the imported zips into the output, without decompressing.

These are applied to swift as an example.

redsun82 avatar May 06 '24 10:05 redsun82