Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix run build script
  • Loading branch information
byrnedj committed Jun 27, 2024
commit 34a1d389252fa715a380b04428ddb0e92cdaf995
17 changes: 2 additions & 15 deletions docker/run-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,10 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2022, Intel Corporation

set -e

function sudo_password() {
echo ${USERPASS} | sudo -Sk $*
}

#cd ..
#mkdir build
#cd build
#
source /opt/rh/gcc-toolset-12/enable
#
#cmake ../cachelib -DBUILD_TESTS=ON -DCMAKE_INSTALL_PREFIX=/opt -DCMAKE_BUILD_TYPE=Debug
#sudo_password make install -j$(nproc)
cd $WORKDIR
cd /
if [ -d "build-cachelib" ]; then
rm -rf build-cachelib
fi
./contrib/build-package.sh -t -j -v -I /opt/ cachelib
./$WORKDIR/contrib/build-package.sh -t -j -v -I /opt/ cachelib
cd /opt/tests && $WORKDIR/run_tests.sh