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
134 lines
3.0 KiB
YAML
134 lines
3.0 KiB
YAML
# RUN: split-file %s %t
|
|
|
|
# RUN: %clang --target=arm-none-eabi --multi-lib-config=%t/multilib-without-macro-defines.yaml %s -### -o /dev/null 2>&1 \
|
|
# RUN: | FileCheck %s
|
|
# RUN: %clang --target=arm-none-eabi --multi-lib-config=%t/multilib-with-macro-defines.yaml %s -### -o /dev/null 2>&1 \
|
|
# RUN: | FileCheck %s
|
|
# CHECK-NOT: error:
|
|
|
|
# RUN: %clang --target=arm-none-eabi --multi-lib-config=%t/missing-flag-name.yaml %s -### -o /dev/null 2>&1 \
|
|
# RUN: | FileCheck %s --check-prefix=CHECK-MISSING-FLAG-NAME
|
|
# CHECK-MISSING-FLAG-NAME: error: custom flag requires a name
|
|
|
|
# RUN: %clang --target=arm-none-eabi --multi-lib-config=%t/missing-flag-values.yaml %s -### -o /dev/null 2>&1 \
|
|
# RUN: | FileCheck %s --check-prefix=CHECK-MISSING-FLAG-VALUES
|
|
# CHECK-MISSING-FLAG-VALUES: error: custom flag must have at least one value
|
|
|
|
# RUN: %clang --target=arm-none-eabi --multi-lib-config=%t/missing-flag-value-default.yaml %s -### -o /dev/null 2>&1 \
|
|
# RUN: | FileCheck %s --check-prefix=CHECK-MISSING-FLAG-VALUE-DEFAULT
|
|
# CHECK-MISSING-FLAG-VALUE-DEFAULT: error: custom flag must have a default value
|
|
|
|
# RUN: %clang --target=arm-none-eabi --multi-lib-config=%t/missing-flag-value-name.yaml %s -### -o /dev/null 2>&1 \
|
|
# RUN: | FileCheck %s --check-prefix=CHECK-MISSING-FLAG-VALUE-NAME
|
|
# CHECK-MISSING-FLAG-VALUE-NAME: error: custom flag value requires a name
|
|
|
|
# RUN: %clang --target=arm-none-eabi --multi-lib-config=%t/duplicate-flag-value-name.yaml %s -### -o /dev/null 2>&1 \
|
|
# RUN: | FileCheck %s --check-prefix=CHECK-DUPLICATE-FLAG-VALUE-NAME
|
|
# CHECK-DUPLICATE-FLAG-VALUE-NAME: error: duplicate custom flag value name: "value-name"
|
|
# CHECK-DUPLICATE-FLAG-VALUE-NAME-NEXT: - Name: value-name
|
|
|
|
#--- multilib-without-macro-defines.yaml
|
|
---
|
|
MultilibVersion: 1.0
|
|
|
|
Variants:
|
|
- Dir: libc
|
|
Flags: [-fmultilib-flag=a]
|
|
|
|
Flags:
|
|
- Name: flag
|
|
Values:
|
|
- Name: a
|
|
- Name: b
|
|
Default: a
|
|
|
|
#--- multilib-with-macro-defines.yaml
|
|
---
|
|
MultilibVersion: 1.0
|
|
|
|
Variants:
|
|
- Dir: libc
|
|
Flags: [-fmultilib-flag=a]
|
|
|
|
Flags:
|
|
- Name: flag
|
|
Values:
|
|
- Name: a
|
|
MacroDefines: [FEATURE_A]
|
|
- Name: b
|
|
MacroDefines: [FEATURE_B]
|
|
Default: a
|
|
|
|
#--- missing-flag-name.yaml
|
|
---
|
|
MultilibVersion: 1.0
|
|
|
|
Variants:
|
|
- Dir: libc
|
|
Flags: [-fmultilib-flag=a]
|
|
|
|
Flags:
|
|
- Values:
|
|
- Name: a
|
|
Default: a
|
|
|
|
#--- missing-flag-values.yaml
|
|
---
|
|
MultilibVersion: 1.0
|
|
|
|
Variants:
|
|
- Dir: libc
|
|
Flags: [-fmultilib-flag=a]
|
|
|
|
Flags:
|
|
- Name: flag
|
|
Values:
|
|
Default: a
|
|
|
|
#--- missing-flag-value-default.yaml
|
|
---
|
|
MultilibVersion: 1.0
|
|
|
|
Variants:
|
|
- Dir: libc
|
|
Flags: [-fmultilib-flag=a]
|
|
|
|
Flags:
|
|
- Name: flag
|
|
Values:
|
|
- Name: a
|
|
Default:
|
|
|
|
#--- missing-flag-value-name.yaml
|
|
---
|
|
MultilibVersion: 1.0
|
|
|
|
Variants:
|
|
- Dir: libc
|
|
Flags: [-fmultilib-flag=a]
|
|
|
|
Flags:
|
|
- Name: flag
|
|
Values:
|
|
- Name:
|
|
Default: a
|
|
|
|
#--- duplicate-flag-value-name.yaml
|
|
---
|
|
MultilibVersion: 1.0
|
|
|
|
Variants:
|
|
- Dir: libc
|
|
Flags: [-fmultilib-flag=value-name]
|
|
|
|
Flags:
|
|
- Name: a
|
|
Values:
|
|
- Name: value-name
|
|
- Name: value-a
|
|
Default: value-name
|
|
- Name: b
|
|
Values:
|
|
- Name: value-name
|
|
Default: value-name
|