403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.190
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/src/linux-headers-6.8.0-45/drivers/gpu/drm/ci/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/src/linux-headers-6.8.0-45/drivers/gpu/drm/ci/build-igt.sh
#!/bin/bash
# SPDX-License-Identifier: MIT

set -ex

git clone https://gitlab.freedesktop.org/drm/igt-gpu-tools.git --single-branch --no-checkout
cd igt-gpu-tools
git checkout $IGT_VERSION

if [[ "$KERNEL_ARCH" = "arm" ]]; then
    . ../.gitlab-ci/container/create-cross-file.sh armhf
    EXTRA_MESON_ARGS="--cross-file /cross_file-armhf.txt"
fi

MESON_OPTIONS="-Doverlay=disabled                    \
               -Dchamelium=disabled                  \
               -Dvalgrind=disabled                   \
               -Dman=enabled                         \
               -Dtests=enabled                       \
               -Drunner=enabled                      \
               -Dlibunwind=enabled                   \
               -Dprefix=/igt"

mkdir -p /igt
meson build $MESON_OPTIONS $EXTRA_MESON_ARGS
ninja -C build -j${FDO_CI_CONCURRENT:-4} || ninja -C build -j 1
ninja -C build install

mkdir -p artifacts/
tar -cf artifacts/igt.tar /igt

# Pass needed files to the test stage
S3_ARTIFACT_NAME="igt.tar.gz"
gzip -c artifacts/igt.tar > ${S3_ARTIFACT_NAME}
ci-fairy s3cp --token-file "${CI_JOB_JWT_FILE}" ${S3_ARTIFACT_NAME} https://${PIPELINE_ARTIFACTS_BASE}/${KERNEL_ARCH}/${S3_ARTIFACT_NAME}

Youez - 2016 - github.com/yon3zu
LinuXploit