Skip to content

Commit

Permalink
Remove unnecessary build_project function as binaries are not require…
Browse files Browse the repository at this point in the history
…d for packaging
  • Loading branch information
Mustaballer committed Aug 27, 2024
1 parent a8f627e commit 6eb559b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions Scripts/Packaging/build_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,6 @@ print_input_variables() {
echo "************************************"
}

build_project() {
echo "** Building the project **"
mkdir -p "$BUILD_DIR"
pushd "$BUILD_DIR" || exit
cmake -DCMAKE_INSTALL_PREFIX="$PACKAGE_INSTALL_PREFIX" -DGPU_ARCHITECTURES=all ..
make -j$(nproc)
popd || exit
}

copy_sources() {
mkdir -p "$STAGING_DIR"

Expand Down Expand Up @@ -308,9 +299,6 @@ pushd "$GIT_TOP_LEVEL" || exit
# Print input variables
print_input_variables

# Build the project, including tests
build_project

# Copy sources to the staging directory
copy_sources

Expand Down

0 comments on commit 6eb559b

Please sign in to comment.