Skip to content

Commit

Permalink
Merge pull request #118 from hao-yao/dfsg
Browse files Browse the repository at this point in the history
Fix libraries suffix for IPU6
  • Loading branch information
hao-yao authored Aug 9, 2024
2 parents bb5d97c + d7223b6 commit 64cee48
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
8 changes: 4 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ function build_target() {
-DIPU_VER=$IPU_VERSION \
-DBUILD_CAMHAL_TESTS=OFF \
-DUSE_PG_LITE_PIPE=ON \
-DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/install \
-DCMAKE_INSTALL_PREFIX=/usr \
-DUSE_HAL_ADAPTOR=ON \
..

# make and install
make -j`nproc`
check_result $? "$FUNCNAME: $target"

make install
make DESTDIR=${INSTALL_DIR}/install install
check_result $? "$FUNCNAME: $target"
cd ..
}
Expand All @@ -111,13 +111,13 @@ function build_hal_adaptor() {
cd $SOURCE_DIR/ipu6-camera-hal/src/hal/hal_adaptor
rm -fr build && mkdir -p build && cd build

command cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/install ../
command cmake -DCMAKE_INSTALL_PREFIX=/usr ../

# make and install
make -j
check_result $? $FUNCNAME

make install
make make DESTDIR=${INSTALL_DIR}/install install

This comment has been minimized.

Copy link
@drhooray

drhooray Aug 9, 2024

Contributor

need to be modified

check_result $? $FUNCNAME
}

Expand Down
2 changes: 0 additions & 2 deletions cmake/FindLIBGCSS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ include(FindPackageHandleStandardArgs)

if(NOT DEFINED IPU_VER)
set(LIBGCSS_PKG_SUFFIX "-ipu4")
elseif(${IPU_VER} STREQUAL ipu6)
set(LIBGCSS_PKG_SUFFIX "")
else()
set(LIBGCSS_PKG_SUFFIX "-${IPU_VER}")
endif()
Expand Down
2 changes: 0 additions & 2 deletions cmake/FindLIBIACSS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ include(FindPackageHandleStandardArgs)

if(NOT DEFINED IPU_VER)
set(IACSS_PKG_SUFFIX "-ipu4")
elseif(${IPU_VER} STREQUAL ipu6)
set(IACSS_PKG_SUFFIX "")
else()
set(IACSS_PKG_SUFFIX "-${IPU_VER}")
endif()
Expand Down

0 comments on commit 64cee48

Please sign in to comment.