The upstream release tree, every tracked file byte for byte, from https://github.com/VecSzn/PolyStrata at tag v0.1.45-poly.1, commit d0cd84dc6bd009d1d9e2191e4e28cc76b80f1ee3. Nothing added, removed or edited; git diff against this commit is the whole story of the fork. Verified: the commit's tree hash equals the upstream commit's tree hash.
13 lines
815 B
Bash
Executable File
13 lines
815 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Configure + build the SYCL port inside strata-sycl-dev. sycl/build.sh [target...]
|
|
set -uo pipefail
|
|
set +u; source /opt/intel/oneapi/setvars.sh >/dev/null 2>&1 || true; set -u
|
|
repo=${REPO:-$(git rev-parse --show-toplevel)}
|
|
b=${BUILD_DIR:-$repo/build-sycl}
|
|
[ -f $b/build.ninja ] || cmake -S $repo/sycl -B $b -G Ninja -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx \
|
|
-DSTRATA_SYCL_AOT="${AOT:-}" -DSTRATA_SYCL_SPIN_MAX="${SPIN_MAX:-}" 2>&1 | tail -15
|
|
cmake --build $b -j ${JOBS:-12} ${1:+--target "$@"} -- -k 0 2>&1 | tee $b/build.log | grep -E '^FAILED|error:|^ninja: build stopped|Linking|^\[[0-9]+/[0-9]+\] Linking' | tail -40
|
|
echo "BUILD EXIT ${PIPESTATUS[0]}"
|
|
grep -c 'error:' $b/build.log | sed 's/^/errors: /'
|
|
grep -E '^FAILED' $b/build.log | sed 's#.*/##' | sort | uniq | head -60
|