-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci/package_checks: Add check for included static libraries (#2039)
**Summary** Add a check that fails when static libraries are included. Packages or paths that should contain static libraries can be allow-listed in the CI configuration. Depends on #2038. **Test Plan** ``` ./common/CI/package_checks.py **/pspec_x86_64.xml ``` **Checklist** - [x] ~~Package was built and tested against unstable~~
- Loading branch information
Showing
2 changed files
with
67 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,22 @@ | ||
--- | ||
# Configuration for a repository freeze. | ||
# Dates can be generated using `date --iso-8601=s`. | ||
freeze: | ||
start: "2024-09-27T23:59:59+00:00" | ||
end: "2024-10-13T23:59:59+00:00" | ||
|
||
# Configuration for including static libraries. | ||
static_libs: | ||
# These packages are allowed to include static libraries: | ||
allowed_packages: | ||
- gcc | ||
- ghc | ||
- glibc | ||
- golang | ||
- libboost | ||
- llvm | ||
- llvm-15 | ||
- rocm-llvm | ||
# These files are allowed as static libraries: | ||
allowed_files: | ||
- /usr/lib64/ghc-*/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters