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
30 lines
1.3 KiB
C++
30 lines
1.3 KiB
C++
// UNSUPPORTED: target={{.*}}-aix{{.*}}
|
|
|
|
// RUN: rm -rf %t.dir
|
|
// RUN: rm -rf %t.cdb
|
|
// RUN: mkdir -p %t.dir
|
|
// RUN: mkdir %t.dir/Inputs
|
|
// RUN: cp %s %t.dir/Inputs/relative_directory_input1.cpp
|
|
// RUN: cp %s %t.dir/Inputs/relative_directory_input2.cpp
|
|
// RUN: touch %t.dir/Inputs/header.h
|
|
// RUN: sed -e "s|DIR|%/t.dir|g" %S/Inputs/relative_directory.json > %t.cdb
|
|
//
|
|
// RUN: clang-scan-deps -compilation-database %t.cdb -j 1 | FileCheck --check-prefixes=CHECK1,CHECK2%if system-darwin && target={{.*}}-{{darwin|macos}}{{.*}} %{,CHECK-DARWIN1,CHECK-DARWIN2 %} %s
|
|
|
|
// The output order is non-deterministic when using more than one thread,
|
|
// so check the output using two runs.
|
|
// RUN: clang-scan-deps -compilation-database %t.cdb -j 2 | FileCheck --check-prefixes=CHECK1%if system-darwin && target={{.*}}-{{darwin|macos}}{{.*}} %{,CHECK-DARWIN1 %} %s
|
|
// RUN: clang-scan-deps -compilation-database %t.cdb -j 2 | FileCheck --check-prefixes=CHECK2%if system-darwin && target={{.*}}-{{darwin|macos}}{{.*}} %{,CHECK-DARWIN2 %} %s
|
|
|
|
#include <header.h>
|
|
|
|
// CHECK1: relative_directory_input1.o:
|
|
// CHECK-DARWIN1-NEXT: SDKSettings.json
|
|
// CHECK1-NEXT: relative_directory_input1.cpp
|
|
// CHECK1-NEXT: header.h
|
|
|
|
// CHECK2: relative_directory_input2.o:
|
|
// CHECK-DARWIN2-NEXT: SDKSettings.json
|
|
// CHECK2-NEXT: relative_directory_input2.cpp
|
|
// CHECK2-NEXT: header.h
|