Giter VIP home page Giter VIP logo

Comments (3)

waruqi avatar waruqi commented on July 19, 2024 1

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.

Issues-translate-bot avatar Issues-translate-bot commented on July 19, 2024

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.

log.txt

from xmake.

Issues-translate-bot avatar Issues-translate-bot commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.