CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
39 lines
1.3 KiB
Bash
Executable File
39 lines
1.3 KiB
Bash
Executable File
#! /bin/sh
|
|
set -e
|
|
|
|
# Replace the content of the isl directory with a fresh clone from
|
|
# http://repo.or.cz/isl.git
|
|
|
|
SCRIPTPATH=`realpath --no-symlinks $(dirname $0)`
|
|
ISL_SOURCE_DIR="${SCRIPTPATH}/isl"
|
|
GITDIR=`mktemp -d --tmpdir isl-XXX`
|
|
|
|
# Checkout isl source code
|
|
git clone --recursive http://repo.or.cz/isl.git $GITDIR
|
|
if [ -n "$1" ]; then
|
|
(cd $GITDIR && git checkout --detach $1)
|
|
(cd $GITDIR && git submodule update --recursive)
|
|
fi
|
|
|
|
# Customize the source directory for Polly:
|
|
# - Remove the autotools build system to avoid including GPL source into
|
|
# the LLVM repository, even if covered by the autotools exception
|
|
# - Create files that the autotools would have created
|
|
# - Save the custom isl C++ binding
|
|
# - Strip git source versioning
|
|
(cd $GITDIR && rm -rf m4 autogen.sh configure.ac)
|
|
(cd $GITDIR && find -name "Makefile.am" -execdir rm -f '{}' \;)
|
|
(cd $GITDIR && git describe > $GITDIR/GIT_HEAD_ID)
|
|
cp $ISL_SOURCE_DIR/include/isl/isl-noexceptions.h $GITDIR/include/isl/isl-noexceptions.h
|
|
rm -rf $GITDIR/.git
|
|
rm -rf $GITDIR/imath/.git
|
|
|
|
# Replace the current isl source
|
|
# IMPORTANT: Remember to `git add` any new files in LLVM's versioning
|
|
# and add them to its CMakeLists.txt if necessary.
|
|
rm -rf $ISL_SOURCE_DIR
|
|
mv -T $GITDIR $ISL_SOURCE_DIR
|
|
|
|
# Cleanup script temporaries
|
|
rm -rf $TMPDIR
|