Comments (3)
xmake q/xmake require 其实算是内部用的 action 了,一般不建议用户直接用的,它是基于已有的 config cache 的, 首先要有一次 xmake config。。所以想要安装包,要么直接走 xmake f -c
触发,或者干脆用 xrepo install
内部封装了 xmake f + xmake q
,要么直接走 xmake
编译+安装
单纯走 xmake q 不会自动去执行 config ,只会加载已缓存的 config ,但是又被你 clean -a 给清了,当然有问题了。。
from xmake.
Bot detected the issue body's language is not English, translate it automatically.
Title: xmake q fails; while xmake q -v succeeds
Xmake version
v2.9.2+HEAD.6b6557c
Operating system version and architecture
ubuntu 16.04, amd64
Describe the problem
rm -rf ~/.xmake/cache ~/.xmake/packages/*; xmake c -a
xmakeq
# fail
rm -rf ~/.xmake/cache ~/.xmake/packages/*; xmake c -a
xmake f
# success
rm -rf ~/.xmake/cache ~/.xmake/packages/*; xmake c -a
xmakeq-v
# success
rm -rf ~/.xmake/cache ~/.xmake/packages/*; xmake c -a
xmake q -f
# success
Expected results
Successful installation
Project configuration
--xmake.lua
add_requires("pulsar")
Additional information and error logs
Since it succeeds with -v
and even with -D
, this log is simply xmake q
. From this point of view, it seems like a problem of concurrent task scheduling.
from xmake.
Bot detected the issue body's language is not English, translate it automatically.
xmake q/xmake require is actually an internal action and is generally not recommended for users to use directly. . If you want to install the package, you can either directly run xmake f -c
to trigger
Or go directly to xmake
to compile + install
Simply running xmake q will not automatically execute config, but will only load the cached config. However, if it is cleared by you using clean -a, of course there is a problem. .
from xmake.
Related Issues (20)
- The behavior of `set_optimize` is inconsistent on MSVC-related platforms. HOT 5
- Windows下shared目标缺少定义_WINDLL宏 HOT 2
- Macos下Qt开发使用add_frameworks添加的frameworks没有添加到链接命令中 HOT 3
- plugin.compile_commands.autoupdate 报错 HOT 17
- incorrect conan profile generated when using vs 17.1x HOT 1
- xmake添加多个deps时,deps内部有相互依赖的情况下编译无法通过 HOT 24
- Please add support for IAR ARM embedded toolchain HOT 16
- links not found when add_deps("openmp") HOT 10
- 支持在 xmake-repo 下发 toolchain 和 opiton HOT 9
- 添加`qt5widget`包后,xmake的qt规则无法自动识别qt路径 HOT 1
- How to set llvm-rc's options on msys2/clangarm64? HOT 1
- No way to set build type in `qt.deploy.flags` passed to windeployqt HOT 1
- Improve copy pdb when using ninja on Windows HOT 4
- 引用外部库时如何使用预编译头文件的功能 HOT 5
- 解决rc文件不会重新编译的问题 HOT 15
- 升级 xmake 后,包构建失败:package(nlohmann-json): links not found! HOT 4
- Linux系统编译多出-framework选项 HOT 9
- Cannot create static library providing C++ module HOT 11
- 多target的项目中,使用add_shflags("/NOENTRY")的纯资源动态库项目会对其它shared项目产生影响 HOT 1
- 本地定义的 package 无法替换掉间接依赖 HOT 25
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmake.