Skip to content

Commit a8b2b0d

Browse files
committed
Sync dfsg with main branch
Signed-off-by: Hao Yao <hao.yao@intel.com>
1 parent 6991325 commit a8b2b0d

File tree

337 files changed

+16583
-20569
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

337 files changed

+16583
-20569
lines changed

.github/workflows/build-tests.yml

+27-28
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
build:
1212
strategy:
1313
matrix:
14-
version: [ipu6epmtl, ipu6ep, ipu6, hal]
14+
version: [ipu6]
1515
os: ["ubuntu:24.04", "ubuntu:22.04", "ubuntu:20.04"]
1616
runs-on: ubuntu-latest
1717
container: ${{ matrix.os }}
1818
steps:
1919
- uses: actions/checkout@v4
2020
with:
2121
repository: intel/ipu6-camera-bins
22-
ref: dfsg
22+
ref: main
2323
path: bins
2424

2525
- name: Install from intel/ipu6-camera-bins
@@ -53,36 +53,35 @@ jobs:
5353
apt-get update -q
5454
export TZ=Asia/Shanghai
5555
echo "" | apt-get install -qy tzdata
56-
echo "" | apt-get install git build-essential cmake libexpat-dev automake libtool libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev --yes
56+
echo "" | apt-get install git build-essential cmake libexpat-dev automake libtool rpm libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev libdrm-dev libva-dev libunwind-dev libdrm-dev --yes
57+
58+
- uses: actions/checkout@v4
59+
with:
60+
repository: intel/icamerasrc
61+
ref: icamerasrc_slim_api
62+
path: icamerasrc
63+
5764
- name: Build test for ${{ matrix.version }} on ${{ matrix.os }}
5865
timeout-minutes: 10
5966
run: |
60-
case "${{ matrix.os }}" in
61-
("ubuntu:24.04")
62-
fortify_level=3
63-
;;
64-
("ubuntu:22.04"|"ubuntu:20.04")
65-
fortify_level=2
66-
;;
67-
(*)
68-
echo "${{ matrix.os }} is unsupported yet. Please find the default fortify_level in /usr/share/perl5/Dpkg/Vendor/Ubuntu.pm or /usr/share/perl5/Dpkg/Vendor/Debian.pm."
69-
exit 1
70-
;;
71-
esac
7267
cd "${GITHUB_WORKSPACE}/hal"
7368
7469
mkdir build && cd build
75-
if [ "${{ matrix.version }}" = "hal" ]; then
76-
cmake -DCMAKE_BUILD_TYPE=Release \
77-
"-DCMAKE_CXX_FLAGS=-D_FORTIFY_SOURCE=$fortify_level" \
78-
../src/hal/hal_adaptor;
79-
else
80-
cmake -DCMAKE_BUILD_TYPE=Release \
81-
"-DCMAKE_CXX_FLAGS=-D_FORTIFY_SOURCE=$fortify_level" \
82-
-DIPU_VER="${{ matrix.version }}" \
83-
-DUSE_PG_LITE_PIPE=ON \
84-
-DUSE_HAL_ADAPTOR=ON \
85-
..
86-
fi
87-
VERBOSE=1 make
70+
cmake -DCMAKE_BUILD_TYPE=Release \
71+
-DCMAKE_INSTALL_PREFIX=/usr \
72+
-DCMAKE_INSTALL_LIBDIR=lib \
73+
-DBUILD_CAMHAL_ADAPTOR=ON \
74+
-DBUILD_CAMHAL_PLUGIN=ON \
75+
-DIPU_VERSIONS="ipu6;ipu6ep;ipu6epmtl" \
76+
-DUSE_PG_LITE_PIPE=ON \
77+
..
78+
VERBOSE=1 make -j16
79+
make install
80+
81+
cd "${GITHUB_WORKSPACE}/icamerasrc"
82+
export CHROME_SLIM_CAMHAL=ON
83+
./autogen.sh
84+
./configure --prefix=/usr
85+
make -j16
86+
make rpm
8887
make install

0 commit comments

Comments
 (0)