[libcxx-commits] [PATCH] D107895: [runtimes] Set more paths when building runtimes standalone

Ron Lieberman via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Sep 8 16:18:59 PDT 2021


ronlieb added a comment.

We are seeing 3 buildbot failures related to this patch. all 3 buildbots are in Staging
unfortunately bots down last 4 days , so this may not be as timely as you might hope for

i checkout the patch just before yours, built ok, checked out yours build issue
i also checked out main latest, and reverted and it builds ok

i pasted my cmake line below

our two openmp amdgpu builders:
https://lab.llvm.org/staging/#/builders/183/builds/1057
https://lab.llvm.org/staging/#/builders/182/builds/1264
and Michael Kruse's builder 
 https://lab.llvm.org/staging/#/builders/182/builds/1264

FAILED: openmp/libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/get_elf_mach_gfx_name.cpp.o
/home/rlieberm/mono-repo/llvm-project/build/./bin/clang++ --target=x86_64-unknown-linux-gnu  -DTARGET_NAME=AMDGPU -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Domptarget_rtl_amdgpu_EXPORTS -I/home/rlieberm/mono-repo/llvm-project/openmp/libomptarget/include -I/home/rlieberm/mono-repo/llvm-project/openmp/libomptarget/plugins/amdgpu/impl -I/home/rlieberm/mono-repo/llvm-project/llvm/include -Iinclude -I/home/rlieberm/mono-repo/llvm-project/openmp/libomptarget/plugins/common/elf_common -isystem /opt/rocm/include/hsa -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wcast-qual -Wformat-pedantic -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -std=c++14 -O3 -DNDEBUG -fPIC   -UNDEBUG -MD -MT openmp/libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/get_elf_mach_gfx_name.cpp.o -MF openmp/libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/get_elf_mach_gfx_name.cpp.o.d -o openmp/libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/get_elf_mach_gfx_name.cpp.o -c /home/rlieberm/mono-repo/llvm-project/openmp/libomptarget/plugins/amdgpu/impl/get_elf_mach_gfx_name.cpp
In file included from /home/rlieberm/mono-repo/llvm-project/openmp/libomptarget/plugins/amdgpu/impl/get_elf_mach_gfx_name.cpp:13:
In file included from /home/rlieberm/mono-repo/llvm-project/llvm/include/llvm/BinaryFormat/ELF.h:22:
In file included from /home/rlieberm/mono-repo/llvm-project/llvm/include/llvm/ADT/StringRef.h:12:
In file included from /home/rlieberm/mono-repo/llvm-project/llvm/include/llvm/ADT/STLExtras.h:19:
In file included from /home/rlieberm/mono-repo/llvm-project/llvm/include/llvm/ADT/Optional.h:18:
In file included from /home/rlieberm/mono-repo/llvm-project/llvm/include/llvm/ADT/Hashing.h:48:
In file included from /home/rlieberm/mono-repo/llvm-project/llvm/include/llvm/Support/ErrorHandling.h:17:
/home/rlieberm/mono-repo/llvm-project/llvm/include/llvm/Support/Compiler.h:18:10: fatal error: 'llvm/Config/llvm-config.h' file not found
#include "llvm/Config/llvm-config.h"

  ^~~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated.

/usr/local/cmake/bin/cmake -DCMAKE_INSTALL_PREFIX=/home/<somewhere>/trunk_1.0 \

  -DCMAKE_BUILD_TYPE=Release \
  -DLLVM_ENABLE_PROJECTS="clang;lld;llvm" \
  -DLLVM_LIT_ARGS="-vv --show-unsupported --show-xfail -j 32" \
  -DLLVM_TARGETS_TO_BUILD="X86;AMDGPU" \
  -DLLVM_ENABLE_ASSERTIONS=ON                        \
  -DLLVM_ENABLE_RUNTIMES="openmp" \
  -DCLANG_DEFAULT_LINKER=lld                         \
  ../llvm -GNinja

ninja install


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107895



More information about the libcxx-commits mailing list