abseil / abseil/abseil-cpp

Fails compilation with emscripten if host platfrom is Mac

Đang mở
#308 1 bình luận 0 reaction 1 người được giao Được @derekmauro nhận Xem trên GitHub
Ngôn ngữ chính
C++
Star
18.1k
Fork
3.2k
Merge trung bình
20 giờ 36 phút
Pull request đã merge (30 ngày)
1

Mô tả

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`.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.