macos - 在旧 Mac 上升级到最新版本的 Cmake?
问题描述
是否可以在较旧的 macos 上升级到最新版本的 Cmake?我在 mac os v10.11 EL Capitan 上有 cmake 版本 3.19.0,brew install cmake
最初是使用的,但是当我尝试运行时brew upgrade cmake
出现以下错误
decimal.cc:181:decimal.cc:181:1: error1: error: : thread-local storage is not supported for the current target
thread-local storage is not supported for the current target
thread_local Context context{context_template};
^
thread_local Context context{context_template};
^
2 errors generated.
2 errors generated.
make[1]: *** [.objs/decimal.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [decimal.o] Error 1
make: *** [libcxx] Error 2
Do not report this issue to Homebrew/brew or Homebrew/core!
Error: You are using macOS 10.11.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.
我还收到了有关过时 xCode 的警告,但不确定这是否是一个问题,无论如何,我现在不想升级 xCode。如果我的 macos 版本意味着我无法获得最新的 cmake,任何人都清楚吗?
提前致谢。
解决方案
推荐阅读
- sorting - 排序列表视图时,ItemTapped 不起作用
- r - Windows 的 Github 操作依赖项安装失败
- javascript - 如何访问“BLEED_PID”嵌套数组中的第二个元素?
- python - 使用 statsmodels SARIMAX 手动创建平均响应的置信区间
- android - 如何在捕获按钮单击事件后冻结cameraX previewview,在单击事件图像需要时间处理后,此时相机应该冻结
- c++ - 当 X 是已定义的模板类时,没有名为 X 的模板
- python - 列出 Python 模块本身的函数
- java - 对象内的 Hasmap 合并函数值
- azure - 未找到 Azure 人脸验证资源
- dictionary - 为什么我的标记未显示在 Google 地图活动中