Git Product home page Git Product logo

Comments (11)

veox avatar veox commented on July 23, 2024

I'd like not to break ADL detection for everybody else.

cgminer had a change to windows-build.txt a month ago. Might be relevant.

from sgminer.

veox avatar veox commented on July 23, 2024

Also, Drogean's been able to compile it, and submitted some changes to sgminer's docs: https://github.com/veox/sgminer/pull/13

from sgminer.

OhGodAPet avatar OhGodAPet commented on July 23, 2024

Can you just disable the check for headers only if cross-compiling?

from sgminer.

veox avatar veox commented on July 23, 2024

Does specifying --disable-adl to configure help? Or do you want the
headers to be there, but no checks to be performed?

I can go ahead and just add --disable-adl-checks or some similar hack,
but that's what the checks are for, perhaps it is better that you post
the error log?

BTW, careful with what you distribute. The AMD ADL EULA allows
including object and header files only in object-code form.

from sgminer.

OhGodAPet avatar OhGodAPet commented on July 23, 2024

The issue is, I want to cross compile it with ADL support. It wouldn't make sense to disable ADL. Try cross-compiling, and configure will tell you that it can't check for the headers when cross compiling and abort. And I'm building binaries, so I don't have to worry.

from sgminer.

veox avatar veox commented on July 23, 2024

@wolf9466 Please do post the error messages on how it fails before trying the https://github.com/veox/sgminer/tree/windows-cross-compile branch. There's some old stuff in configure.ac that needs fixing, and I don't want to play around with setting up cross-compiling just yet.

from sgminer.

OhGodAPet avatar OhGodAPet commented on July 23, 2024

You don't need to play around with setting up anything. Here's the error:

checking for ./ADL_SDK/adl_sdk.h... configure: error: cannot check for file existence when cross compiling

from sgminer.

veox avatar veox commented on July 23, 2024

Did specifying --disable-adl-checks when running configure using branch windows-cross-compile above solve the issue?

from sgminer.

OhGodAPet avatar OhGodAPet commented on July 23, 2024

Nope.

from sgminer.

veox avatar veox commented on July 23, 2024

Reordered the checks, try again.

from sgminer.

OhGodAPet avatar OhGodAPet commented on July 23, 2024

Works now.

from sgminer.

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.