Replies: 3 comments 26 replies
-
add_ldflags("-pthread") |
Beta Was this translation helpful? Give feedback.
8 replies
-
xrepo update-repo 是否可以设置国内镜像? |
Beta Was this translation helpful? Give feedback.
3 replies
-
xmake.lua
另外xrepo remove openmp也没有成功: [~/p/label-sample]── ─ xrepo remove openmp
packages(openmp) not found, maybe they don’t exactly match the configuration.
please attempt to remove them with `-f/--configs=` option, e.g.
- xrepo remove -f "name=value, ..." package
- xrepo remove -m debug -k shared -f "name=value, ..." package
[~/p/label-sample]── ─ xrepo remove -f openmp
error: please specify the packages to be removed.
─255─[~/p/label-sample]── ─ xrepo remove -f "openmp"
error: please specify the packages to be removed.
─255─[~/p/label-sample]── ─ xmake --version
xmake v2.6.1+HEAD.666dc54, A cross-platform build utility based on Lua
Copyright (C) 2015-present Ruki Wang, tboox.org, xmake.io
_
__ ___ __ __ __ _| | ______
\ \/ / | \/ |/ _ | |/ / __ \
> < | \__/ | /_| | < ___/
/_/\_\_|_| |_|\__ \|_|\_\____|
by ruki, xmake.io
👉 Manual: https://xmake.io/#/getting_started
🙏 Donate: https://xmake.io/#/sponsor |
Beta Was this translation helpful? Give feedback.
15 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我在编译一个openmp的示例时,编译命令需要:
但我没找到如何在xmake.lua中设置,可以添加
-pthread
指令,add_syslinks("pthread")
添加的是-lpthread
在我的算例中这两种参数是有差别的。请问有是否有配置成上面这中编译指令的方法?
Beta Was this translation helpful? Give feedback.
All reactions