GithubHelp home page GithubHelp logo

Comments (10)

waruqi avatar waruqi commented on August 18, 2024

再试试

from xmake.

Issues-translate-bot avatar Issues-translate-bot commented on August 18, 2024

Bot detected the issue body's language is not English, translate it automatically.


try again

from xmake.

xq114 avatar xq114 commented on August 18, 2024

还是不行,应该是#ldflags > 0才对吧;还有就是https://github.com/xmake-io/xmake/blob/dev/xmake/core/package/package.lua#L2021-L2029 这里没考虑 fetchinfo 为boolean的情况,直接判断fetchinfo.version会出问题,是不是参考https://github.com/xmake-io/xmake/blob/dev/xmake/core/package/package.lua#L1739-L1749 处理下?

from xmake.

Issues-translate-bot avatar Issues-translate-bot commented on August 18, 2024

Bot detected the issue body's language is not English, translate it automatically.


Still not working, it should be #ldflags > 0; and https://github.com/xmake-io/xmake/blob/dev/xmake/core/package/package.lua#L2021-L2029 is not considered here If fetchinfo is boolean, directly determine if there will be a problem with fetchinfo.version. Please refer to https://github.com/xmake-io/xmake/blob/dev/xmake/core/package/package.lua#L1739-L1749 for processing. Down?

from xmake.

waruqi avatar waruqi commented on August 18, 2024

还是不行,应该是#ldflags > 0才对吧;

好了,再试试

还有就是https://github.com/xmake-io/xmake/blob/dev/xmake/core/package/package.lua#L2021-L2029 这里没考虑 fetchinfo 为boolean的情况,直接判断fetchinfo.version会出问题,是不是参考https://github.com/xmake-io/xmake/blob/dev/xmake/core/package/package.lua#L1739-L1749 处理下?

返回 boolean 原本就是不对的,当初早期可能有几个不规范的,改下包就好了。。现在统一只能返回 table

from xmake.

Issues-translate-bot avatar Issues-translate-bot commented on August 18, 2024

Bot detected the issue body's language is not English, translate it automatically.


Still not working, it should be #ldflags > 0;

Okay, try again

There is also https://github.com/xmake-io/xmake/blob/dev/xmake/core/package/package.lua#L2021-L2029. The case where fetchinfo is boolean is not considered here. Directly judge fetchinfo.version. If there is a problem, can you refer to https://github.com/xmake-io/xmake/blob/dev/xmake/core/package/package.lua#L1739-L1749 to solve it?

Returning boolean is originally wrong. There may be a few irregularities in the early days, so just change the package. . Now unified can only return table

from xmake.

xq114 avatar xq114 commented on August 18, 2024

还是不行

from xmake.

Issues-translate-bot avatar Issues-translate-bot commented on August 18, 2024

Bot detected the issue body's language is not English, translate it automatically.


Or not

from xmake.

waruqi avatar waruqi commented on August 18, 2024

还是不行

我这里正常,links not found 的问题没了。。可能是没更新到 master

> checking for c links(omp)
> checking for c snippet(test)
  => install openmp latest .. ok

反而是 openmp 这个包自从加了 fortran 后,ldflags 没设置对,导致 macos 下 test 测试不过,多了 -fopenmp 的 ldflags。。我改了下。。

xmake-io/xmake-repo#4663

from xmake.

waruqi avatar waruqi commented on August 18, 2024

应该可以了 xmake-io/xmake-repo#4663

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.