Giter Site home page Giter Site logo

Comments (11)

blattms avatar blattms commented on August 27, 2024

Works for me with a fresh build and current master

from opm-common.

dr-robertk avatar dr-robertk commented on August 27, 2024

Which DUNE version and autotools or cmake?

from opm-common.

blattms avatar blattms commented on August 27, 2024

2.4.1

from opm-common.

dr-robertk avatar dr-robertk commented on August 27, 2024

Hm strange. I'll test with a fresh build also. Just in case, which cmake version?

from opm-common.

akva2 avatar akva2 commented on August 27, 2024

same here, i cannot reproduce, i cannot fix. opm-simulators gets the versions set as requested from its CMakeLists.txt, opm-grid does not since it is not requested (see the config hook in CMakeListst.txt to see the how). i run dune 2.4.1 from xenial repos, and it also builds fine against the 2.3 on jenkins. i have new cmake locally, jenkins has older cmake so i thought i had the whole test matrix covered.

from opm-common.

blattms avatar blattms commented on August 27, 2024

cmake version 3.0.2

@akva2 Where do these variables get set up in the cmake scripts? I could not find the place. Must be magic.

from opm-common.

akva2 avatar akva2 commented on August 27, 2024

which variables ? you mean the versions ? it works like this;

  1. individual find modules set the cmake variables [module]_VERSION_XXX. this is achieved for dune modules through the macro find_dune_version from UseDuneVer.cmake. this is is overly complicated, in large parts due to my favorite build wrapper, but basically it extracts the versions from the dune.module file and sets the cmake variables accordingly.

  2. the opm_need_version_of() macro calls from the config hook then adds them to the config vars (stuff written to config.h)

from opm-common.

GitPaean avatar GitPaean commented on August 27, 2024

Just FYI. The master compiles okay with Dune 2.4.1 and cmake 3.5.1 from my side.

from opm-common.

dr-robertk avatar dr-robertk commented on August 27, 2024

A fresh opm chain works for me too. Sorry for the noise.

from opm-common.

dr-robertk avatar dr-robertk commented on August 27, 2024

Thanks for the feedback.

from opm-common.

atgeirr avatar atgeirr commented on August 27, 2024

Does that mean #188 should be closed as well?

from opm-common.

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.