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
40 lines
2.1 KiB
Plaintext
40 lines
2.1 KiB
Plaintext
# RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml -o %t-universal.o
|
|
|
|
# RUN: not llvm-lipo %t-universal.o -remove arm64_32 -output /dev/null 2>&1 | FileCheck --check-prefix=ARCH_NOT_IN_FILE %s
|
|
# ARCH_NOT_IN_FILE: does not contain the specified architecture arm64_32 to remove
|
|
|
|
# RUN: yaml2obj %p/Inputs/i386-slice.yaml -o %t-i386.o
|
|
# RUN: not llvm-lipo %t-i386.o -remove i386 -output /dev/null 2>&1 | FileCheck --check-prefix=INPUT_NOT_A_FAT_FILE %s
|
|
# INPUT_NOT_A_FAT_FILE: must be a fat file when the -remove option is specified
|
|
|
|
# RUN: not llvm-lipo -remove FakeArch %t-universal.o -output /dev/null 2>&1 | FileCheck --check-prefix=INVALID_ARCH %s
|
|
# INVALID_ARCH: Invalid architecture: FakeArch
|
|
|
|
# RUN: yaml2obj %p/Inputs/i386-x86_64-armv7-arm64-universal.yaml -o %t-4arch.o
|
|
# RUN: llvm-lipo -remove i386 %t-4arch.o -output %t-removed.o
|
|
# RUN: llvm-lipo -info %t-removed.o | FileCheck --check-prefix=REMOVE_ONE %s
|
|
# REMOVE_ONE: x86_64 armv7 arm64
|
|
|
|
# RUN: llvm-lipo -remove i386 %t-universal.o -output %t-only-x86_64.o
|
|
# RUN: llvm-lipo -thin x86_64 %t-universal.o -output %t-thinned-x86_64.o
|
|
# RUN: yaml2obj %p/Inputs/x86_64-slice.yaml -o %t-x86_64.o
|
|
# RUN: cmp %t-thinned-x86_64.o %t-x86_64.o
|
|
|
|
# Multiple -remove flags
|
|
# RUN: llvm-lipo -remove i386 -remove armv7 %t-4arch.o -output %t-removed-multi.o
|
|
# RUN: llvm-lipo -info %t-removed-multi.o | FileCheck --check-prefix=REMOVE_MULTI %s
|
|
# REMOVE_MULTI: x86_64 arm64
|
|
|
|
# Multiple -remove flags removing all but one arch
|
|
# RUN: llvm-lipo -remove i386 -remove x86_64 -remove armv7 %t-4arch.o -output %t-removed-three.o
|
|
# RUN: llvm-lipo -info %t-removed-three.o | FileCheck --check-prefix=REMOVE_THREE %s
|
|
# REMOVE_THREE: arm64
|
|
|
|
# Error: one of multiple -remove arches not in file
|
|
# RUN: not llvm-lipo -remove i386 -remove arm64_32 %t-4arch.o -output /dev/null 2>&1 | FileCheck --check-prefix=MULTI_ARCH_NOT_IN_FILE %s
|
|
# MULTI_ARCH_NOT_IN_FILE: does not contain the specified architecture arm64_32 to remove
|
|
|
|
# Error: removing all arches
|
|
# RUN: not llvm-lipo -remove i386 -remove x86_64 %t-universal.o -output /dev/null 2>&1 | FileCheck --check-prefix=REMOVE_ALL %s
|
|
# REMOVE_ALL: removing all architectures would result in an empty universal binary
|