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
89 lines
5.3 KiB
C
89 lines
5.3 KiB
C
// RUN: %clangxx -x c++ %s -### -o %t.o 2>&1 \
|
|
// RUN: --target=x86_64-unknown-linux-gnu \
|
|
// RUN: -stdlib=libc++ \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir_with_per_target_subdir \
|
|
// RUN: -ccc-install-dir %S/Inputs/basic_linux_libcxx_tree/usr/bin \
|
|
// RUN: --sysroot=%S/Inputs/basic_linux_libcxx_tree \
|
|
// RUN: | FileCheck --check-prefix=CHECK-PER-TARGET-RUNTIME %s
|
|
// CHECK-PER-TARGET-RUNTIME: "-cc1"
|
|
// CHECK-PER-TARGET-RUNTIME: "-resource-dir" "[[RESDIR:[^"]*]]"
|
|
// CHECK-PER-TARGET-RUNTIME: "-isysroot" "[[SYSROOT:[^"]+]]"
|
|
// CHECK-PER-TARGET-RUNTIME: "-internal-isystem" "{{.*}}{{/|\\\\}}..{{/|\\\\}}include{{/|\\\\}}c++{{/|\\\\}}v1"
|
|
// CHECK-PER-TARGET-RUNTIME: "-internal-isystem" "[[SYSROOT]]/usr/local/include"
|
|
// CHECK-PER-TARGET-RUNTIME: "--sysroot=[[SYSROOT]]"
|
|
// CHECK-PER-TARGET-RUNTIME: "-L{{.*}}{{/|\\\\}}..{{/|\\\\}}lib{{/|\\\\}}x86_64-unknown-linux-gnu"
|
|
|
|
// RUN: %clang --target=aarch64-unknown-linux-android21 -print-file-name=libc++.so 2>&1 \
|
|
// RUN: -ccc-install-dir %S/Inputs/basic_android_libcxx_tree/usr/bin \
|
|
// RUN: | FileCheck --check-prefix=CHECK-LIBCXX-ANDROID21 %s
|
|
// CHECK-LIBCXX-ANDROID21: ..{{/|\\}}lib{{/|\\}}aarch64-unknown-linux-android{{/|\\}}libc++.so
|
|
|
|
// RUN: %clang --target=aarch64-unknown-linux-android23 -print-file-name=libc++.so 2>&1 \
|
|
// RUN: -ccc-install-dir %S/Inputs/basic_android_libcxx_tree/usr/bin \
|
|
// RUN: | FileCheck --check-prefix=CHECK-LIBCXX-ANDROID23 %s
|
|
// CHECK-LIBCXX-ANDROID23: ..{{/|\\}}lib{{/|\\}}aarch64-unknown-linux-android23{{/|\\}}libc++.so
|
|
|
|
// RUN: %clang --target=aarch64-unknown-linux-android26 -print-file-name=libc++.so 2>&1 \
|
|
// RUN: -ccc-install-dir %S/Inputs/basic_android_libcxx_tree/usr/bin \
|
|
// RUN: | FileCheck --check-prefix=CHECK-LIBCXX-ANDROID23 %s
|
|
|
|
// RUN: %clang --target=aarch64-unknown-linux-android29 -print-file-name=libc++.so 2>&1 \
|
|
// RUN: -ccc-install-dir %S/Inputs/basic_android_libcxx_tree/usr/bin \
|
|
// RUN: | FileCheck --check-prefix=CHECK-LIBCXX-ANDROID29 %s
|
|
// CHECK-LIBCXX-ANDROID29: ..{{/|\\}}lib{{/|\\}}aarch64-unknown-linux-android29{{/|\\}}libc++.so
|
|
|
|
// RUN: %clang --target=aarch64-unknown-linux-android31 -print-file-name=libc++.so 2>&1 \
|
|
// RUN: -ccc-install-dir %S/Inputs/basic_android_libcxx_tree/usr/bin \
|
|
// RUN: | FileCheck --check-prefix=CHECK-LIBCXX-ANDROID29 %s
|
|
|
|
// RUN: %clang --target=aarch64-unknown-linux-android -print-file-name=libc++.so 2>&1 \
|
|
// RUN: -ccc-install-dir %S/Inputs/basic_android_libcxx_tree/usr/bin \
|
|
// RUN: | FileCheck --check-prefix=CHECK-LIBCXX-ANDROID %s
|
|
// CHECK-LIBCXX-ANDROID: ..{{/|\\}}lib{{/|\\}}aarch64-unknown-linux-android{{/|\\}}libc++.so
|
|
|
|
// RUN: %clang -rtlib=compiler-rt -print-libgcc-file-name 2>&1 \
|
|
// RUN: --target=x86_64-unknown-linux-gnu \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir_with_per_target_subdir \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CLANGRT-X8664 %s
|
|
// CHECK-CLANGRT-X8664: lib{{/|\\}}x86_64-unknown-linux-gnu{{/|\\}}libclang_rt.builtins.a
|
|
|
|
// RUN: %clang -rtlib=compiler-rt -print-file-name=libclang_rt.builtins.a 2>&1 \
|
|
// RUN: --target=x86_64-unknown-linux-gnu \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir_with_per_target_subdir \
|
|
// RUN: | FileCheck --check-prefix=CHECK-FILE-NAME-X8664 %s
|
|
// CHECK-FILE-NAME-X8664: lib{{/|\\}}x86_64-unknown-linux-gnu{{/|\\}}libclang_rt.builtins.a
|
|
|
|
// RUN: %clang -rtlib=compiler-rt -print-file-name=libclang_rt.builtins.a 2>&1 \
|
|
// RUN: --target=aarch64-unknown-linux-android21 \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir_with_per_target_subdir \
|
|
// RUN: | FileCheck --check-prefix=CHECK-FILE-NAME-ANDROID21 %s
|
|
// CHECK-FILE-NAME-ANDROID21: lib{{/|\\}}aarch64-unknown-linux-android{{/|\\}}libclang_rt.builtins.a
|
|
|
|
// RUN: %clang -rtlib=compiler-rt -print-file-name=libclang_rt.builtins.a 2>&1 \
|
|
// RUN: --target=aarch64-unknown-linux-android23 \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir_with_per_target_subdir \
|
|
// RUN: | FileCheck --check-prefix=CHECK-FILE-NAME-ANDROID23 %s
|
|
// CHECK-FILE-NAME-ANDROID23: lib{{/|\\}}aarch64-unknown-linux-android23{{/|\\}}libclang_rt.builtins.a
|
|
|
|
// RUN: %clang -rtlib=compiler-rt -print-file-name=libclang_rt.builtins.a 2>&1 \
|
|
// RUN: --target=aarch64-unknown-linux-android26 \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir_with_per_target_subdir \
|
|
// RUN: | FileCheck --check-prefix=CHECK-FILE-NAME-ANDROID23 %s
|
|
|
|
// RUN: %clang -rtlib=compiler-rt -print-file-name=libclang_rt.builtins.a 2>&1 \
|
|
// RUN: --target=aarch64-unknown-linux-android29 \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir_with_per_target_subdir \
|
|
// RUN: | FileCheck --check-prefix=CHECK-FILE-NAME-ANDROID29 %s
|
|
// CHECK-FILE-NAME-ANDROID29: lib{{/|\\}}aarch64-unknown-linux-android29{{/|\\}}libclang_rt.builtins.a
|
|
|
|
// RUN: %clang -rtlib=compiler-rt -print-file-name=libclang_rt.builtins.a 2>&1 \
|
|
// RUN: --target=aarch64-unknown-linux-android31 \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir_with_per_target_subdir \
|
|
// RUN: | FileCheck --check-prefix=CHECK-FILE-NAME-ANDROID29 %s
|
|
|
|
// RUN: %clang -rtlib=compiler-rt -print-file-name=libclang_rt.builtins.a 2>&1 \
|
|
// RUN: --target=aarch64-unknown-linux-android \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir_with_per_target_subdir \
|
|
// RUN: | FileCheck --check-prefix=CHECK-FILE-NAME-ANDROID %s
|
|
// CHECK-FILE-NAME-ANDROID: lib{{/|\\}}aarch64-unknown-linux-android{{/|\\}}libclang_rt.builtins.a
|