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 摘要。