Coder Social home page Coder Social logo

Comments (6)

rovinski avatar rovinski commented on July 28, 2024

Your compiler is identified as GCC 4 whereas 7+ is required. See #146 (comment).

from openroad-flow-scripts.

paulgutwin avatar paulgutwin commented on July 28, 2024

Hello Austin - thank you very much for the pointer. I (stupidly) overlooked the need to enable GCC 8 and CLANG 7. My build is now successful.

from openroad-flow-scripts.

vvbandeira avatar vvbandeira commented on July 28, 2024

@paulgutwin, happy to know that you were able to build. Out of curiosity, during your first try, did you ever got to our Getting Started docs page and was it clear? Just asking to know if there's anything we can clarify in the docs to make things better. Thanks.

from openroad-flow-scripts.

rovinski avatar rovinski commented on July 28, 2024

It is possible to give better error messages with something like

if (CMAKE_COMPILER_IS_GNUCC AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7)
    message(FATAL_ERROR "OpenROAD requires GCC 7 or greater.")
endif()

But that is not as robust as CXX_STANDARD_REQUIRED which we currently use.

from openroad-flow-scripts.

vvbandeira avatar vvbandeira commented on July 28, 2024

@rovinski can we use both? check first for the version then for std. req.?

from openroad-flow-scripts.

paulgutwin avatar paulgutwin commented on July 28, 2024

@vvbandeira yes, I was using the Getting Started instructions. However, just before the warning regarding enabling GCC-8/CLANG-7, there is a link Build from sources locally which of course I followed. Since that page also has instructions regarding verifying the build, I didn't think to go back to the "Getting Started" page.

I think that my issue would have been avoided had the warning been repeated on the "Build from sources locally" page.

from openroad-flow-scripts.

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.