[PATCH] D62483: [CUDA][HIP] Emit dependent libs for host only

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 28 18:54:04 PDT 2019


phosek added a comment.

This seems to be failing on macOS bots with the following error:

  FAIL: Clang :: CodeGenCUDA/dependent-libs.cu (3052 of 14933)
  ******************** TEST 'Clang :: CodeGenCUDA/dependent-libs.cu' FAILED ********************
  Script:
  --
  : 'RUN: at line 1';   /b/s/w/ir/k/recipe_cleanup/clangAoYUvt/llvm_build_dir/bin/clang -cc1 -internal-isystem /b/s/w/ir/k/recipe_cleanup/clangAoYUvt/llvm_build_dir/lib/clang/9.0.0/include -nostdsysteminc -emit-llvm -o - -fcuda-is-device -x hip /b/s/w/ir/k/llvm-project/clang/test/CodeGenCUDA/dependent-libs.cu | /b/s/w/ir/k/recipe_cleanup/clangAoYUvt/llvm_build_dir/bin/FileCheck --check-prefix=DEV /b/s/w/ir/k/llvm-project/clang/test/CodeGenCUDA/dependent-libs.cu
  : 'RUN: at line 2';   /b/s/w/ir/k/recipe_cleanup/clangAoYUvt/llvm_build_dir/bin/clang -cc1 -internal-isystem /b/s/w/ir/k/recipe_cleanup/clangAoYUvt/llvm_build_dir/lib/clang/9.0.0/include -nostdsysteminc -emit-llvm -o - -x hip /b/s/w/ir/k/llvm-project/clang/test/CodeGenCUDA/dependent-libs.cu | /b/s/w/ir/k/recipe_cleanup/clangAoYUvt/llvm_build_dir/bin/FileCheck --check-prefix=HOST /b/s/w/ir/k/llvm-project/clang/test/CodeGenCUDA/dependent-libs.cu
  --
  Exit Code: 1
  
  Command Output (stderr):
  --
  /b/s/w/ir/k/llvm-project/clang/test/CodeGenCUDA/dependent-libs.cu:5:10: error: HOST: expected string not found in input
  // HOST: llvm.dependent-libraries
           ^
  <stdin>:1:1: note: scanning from here
  ; ModuleID = '/b/s/w/ir/k/llvm-project/clang/test/CodeGenCUDA/dependent-libs.cu'
  ^
  <stdin>:1:58: note: possible intended match here
  ; ModuleID = '/b/s/w/ir/k/llvm-project/clang/test/CodeGenCUDA/dependent-libs.cu'
                                                           ^
  
  --

The full test log is here: https://logs.chromium.org/logs/fuchsia/buildbucket/cr-buildbucket.appspot.com/8912171419117598448/+/steps/clang/0/steps/test/0/stdout


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62483/new/

https://reviews.llvm.org/D62483





More information about the cfe-commits mailing list