File: upstream-testsuite

package info (click to toggle)
khronos-opencl-clhpp 3.0~2024.10.24-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 984 kB
  • sloc: cpp: 13,856; makefile: 55; sh: 20
file content (14 lines) | stat: -rw-r--r-- 318 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e

srcdir=$(pwd)

cp -a . $AUTOPKGTEST_TMP
cd $AUTOPKGTEST_TMP
mkdir build
cd build
cmake -DOPENCL_LIB_DIR=/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH) -DCMOCK_DIR=/usr/share/cmock -DUNITY_DIR=/usr/share/cmock/vendor/unity ..
rm -rf ../include/CL
make -C examples
make -C tests
make -C tests test