Skip to content

Need to add header file fenv_darwin_impl.h into Bazel build rules #59378

@wangkuiyi

Description

@wangkuiyi

This post https://discourse.llvm.org/t/can-i-build-llvm-using-basel-for-macos-arm64/67043 details the need of this change.

When I was building LLVM using Bazel for macOS+M series chips, I got the following error:

FPUtil/FEnvImpl.h:16:10: fatal error: 'aarch64/fenv_darwin_impl.h' file not found

@tschuett kindly noticed that the header file fenv_darwin_impl.h is in the repo https://github.com/llvm/llvm-project/blob/main/libc/src/__support/FPUtil/aarch64/fenv_darwin_impl.h.

It is just not mentioned in the Bazel build rule

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions