abseil / abseil/abseil-cpp

Fails compilation with emscripten if host platfrom is Mac

未关闭
#308 1 条评论 0 个 reaction 已指派 1 人 已被 @derekmauro 认领 在 GitHub 查看
主要语言
C++
星标
18.1k
派生
3.2k
平均合并
20 小时 36 分钟
30 天内合并 PR
1

描述

In ca3f87560a0eef716195cadf66dc6b938a579ec6 the following lines were added
https://github.com/abseil/abseil-cpp/blob/master/absl/time/internal/cctz/BUILD.bazel#L80-L82

This causes emscripten builds that execute on Mac as host platform to fail with
```
shared:ERROR: Foundation: No such file or directory ("Foundation" was expected to be an input file, based on the commandline arguments provided)
```
This makes sense, as emscripten does not have OSX Foundation libraries.

To the best of my knowledge CROSSTOOL in bazel, while allowing to change `cpu`, does not allow to change `os`.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。