[llvm-dev] How to avoid building i386 runtimes?

Jost, Gabriele (ARC-TNC)[Supersmith] via llvm-dev llvm-dev at lists.llvm.org
Mon Oct 25 08:46:46 PDT 2021


Hello,
I am trying to build clang-13 with OpenMP target offload. I am getting a failure when it is trying to build the i386 runtime, which I really don’t need:

In file included from /nobackupnfs2/gjost/clang-13/llvm-13.x/compiler-rt/lib/builtins/absvdi2.c:13:
In file included from /nobackupnfs2/gjost/clang-13/llvm-13.x/compiler-rt/lib/builtins/int_lib.h:93:
In file included from /usr/include/limits.h:26:
In file included from /usr/include/features.h:399:
/usr/include/gnu/stubs.h:7:11: fatal error: 'gnu/stubs-32.h' file not found
# include <gnu/stubs-32.h>
          ^~~~~~~~~~~~~~~~

I only have a gnu/stubs-64.h

Is there away to disable all 32 bit runtimes?

Gabriele Jost

************************************************************************
Gabriele Jost       NASA Ames Research Center
Email: Gabriele.Jost at nasa.gov    Mail Stop 258-6
Work Phone: (650) 604-0468     Bldg. 258, Rm. 232-4
Scientific & HPC Application        P.O. Box 1
Development/Optimization         Moffett Field, CA 94035-0001
************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20211025/587b412f/attachment.html>


More information about the llvm-dev mailing list