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

Liu, Yaxun (Sam) via cfe-commits cfe-commits at lists.llvm.org
Wed May 29 03:30:35 PDT 2019


Fixed by 361905.

Sam

-----Original Message-----
From: Petr Hosek via Phabricator <reviews at reviews.llvm.org> 
Sent: Tuesday, May 28, 2019 9:54 PM
To: Liu, Yaxun (Sam) <Yaxun.Liu at amd.com>; tra at google.com
Cc: phosek at google.com; cfe-commits at lists.llvm.org; mlekena at skidmore.edu; blitzrakete at gmail.com; shenhan at google.com; jlebar at google.com; zjturner0826 at gmail.com
Subject: [PATCH] D62483: [CUDA][HIP] Emit dependent libs for host only

[CAUTION: External Email]

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