Skip to content
Merged
Changes from all commits
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
11 changes: 9 additions & 2 deletions n/numactl/numactl_ubi_9.3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ cd $PACKAGE_NAME
# Checkout the specified version
git checkout $PACKAGE_VERSION

SCRIPT_DIR=$(pwd)

# Prepare the build system
./autogen.sh
./configure
./configure --prefix=$SCRIPT_DIR/numactl-prefix

# Compile the package
if ! make; then
Expand All @@ -54,7 +56,12 @@ fi
wget https://raw.githubusercontent.com/ppc64le/build-scripts/refs/heads/master/n/numactl/pyproject.toml
sed -i "s/{PACKAGE_VERSION}/$PACKAGE_VERSION/g" pyproject.toml

mkdir -p local
mkdir -p local/numactl
cp -r $SCRIPT_DIR/numactl-prefix/* local/numactl/


export LD_LIBRARY_PATH=$SCRIPT_DIR/numactl-prefix/lib:$SCRIPT_DIR/numactl-prefix/lib64:${LD_LIBRARY_PATH}
export PATH=$SCRIPT_DIR/numactl-prefix/bin:${PATH}

# Run the unit test case
if ! make -k check VERBOSE=1 TESTS='test/tbitmap'; then
Expand Down