On older SSG versions from src rpm, there is no build/ dir. Thus, ensure it exists.
Happens only in rpmbuild-ctest. In other test cases, we do ./build_product which ensures that build directory exists. But in this case, we use directly cmake ../ which should be run from already existing build directory.
The problem happens only on RHEL8 with srpm, RHEL9 is fine, and for upstream content, build directory is there by default.
On older SSG versions from src rpm, there is no
build/
dir. Thus, ensure it exists.Happens only in
rpmbuild-ctest
. In other test cases, we do./build_product
which ensures thatbuild
directory exists. But in this case, we use directlycmake ../
which should be run from already existingbuild
directory. The problem happens only on RHEL8 with srpm, RHEL9 is fine, and for upstream content,build
directory is there by default.