[Question -> BUG vs stupid-user-error?] cmake does not download external libraries in case internet connection is too slow :)
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 30/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- cmake, cpp
- 领域
- build-system
调研方向
从 Linux 构建说明和创建 ./external 的 CMake 配置入手;检查对 AF_WITH_EXTERNAL_PACKAGES_ONLY 以及生成的 spdlog-src 和 af_glad-src 目录的处理。在 CMake 3.16.3 和缓慢或不可用的连接条件下复现,然后确认依赖项已下载,并且生成的目录包含其 CMakeLists.txt 文件,从而使配置完成。
由索引模型根据 Issue 内容生成。
描述
I just tried to build Arrayfire on an arm board (vim3, arm, opencl backend, but I think this does not matter)
But, as far as I can see, it seems that cmake is supposed to automatically clone dependencies into the folder ./external.
This does not happen, only empty folders are generated, no content is inside.
It seems the git submodules where replaced by this external dependency loading through cmake quite recently.
Then, later cmake complains that the sub-folders, e.g. spdlog-src, af_glad-src.... , do not contain CMakeLists.txt
Is there a specific way to configure cmake to clone the external libraries, I just followed the instructions from the doc (https://github.com/arrayfire/arrayfire/wiki/Build-Instructions-for-Linux)
My cmake is version 3.16.3, but there is nor error from cmake directly, there are just no files downloaded into the external folder.
And, cmake option AF_WITH_EXTERNAL_PACKAGES_ONLY is set to OFF
- 主要语言
- C++
- 星标
- 4.9k
- 派生
- 555
- 平均合并
- 1 小时 24 分钟
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
arrayfire/arrayfire 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 74/100
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
-
bug
难度 4/5 3-5 天 新手友好度 45/100
-
难度 5/5 一周以上 新手友好度 25/100
查看 arrayfire/arrayfire 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
-
good first issue
难度 2/5 1-3 小时 新手友好度 75/100
ros2/message_filters#338 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
subsurface/subsurface#4984 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
google-ai-edge/LiteRT-LM#3739 ·