2021-07-15 07:55:00 +00:00
|
|
|
#!/bin/sh -eux
|
|
|
|
|
|
|
|
# There is a bug in the build process when it runs out of disk space
|
|
|
|
# while stripping binaries, which causes the strip to fail, but does
|
|
|
|
# not fail the build. This results in a libLLVM.so that is over 2GB
|
|
|
|
# which breaks the nightly compose. So this test checks that libLLVM.so
|
2022-02-15 14:24:28 +00:00
|
|
|
# is less than 150MB to ensure it was successfully stripped.
|
2021-07-15 07:55:00 +00:00
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1793250
|
|
|
|
|
2022-03-08 12:16:13 +00:00
|
|
|
test $(stat -L -c %s $LIBLLVM_PATH) -lt 157286400
|