Git Product home page Git Product logo

Comments (2)

snowleopard avatar snowleopard commented on August 23, 2024

Here is what is going on: I believe the Shake build system can build utils/ghc-cabal/dist*/build/tmp/ghc-cabal, but it just doesn't copy the resulting binary to inplace/bin/ghc-cabal.

At the moment this is a common issue for all program packages. I'll try to fix this today. I think it makes sense to place binaries directly to inplace/bin instead of building them in [...]/build/tmp first and then do the copying. I guess the old system had to do this because of the inability to properly handle dynamic dependencies with make. Please let me know if you know a reason to keep binaries in [...]/build/tmp.

Note, it is still unlikely that the build system will work on a fresh source tree after I do the fix because there are still some missing bits here and there. Currently the best way to hack on the build system is to run make first and then run the new build system on top of it.

from hadrian.

snowleopard avatar snowleopard commented on August 23, 2024

I've pushed the following fixes:

  • Build some programs directly in inplace/bin: 663ad01.
  • Bootstrap ghc-cabal via a fake package-data.mk file: c98eebc.

Please let me know if this works for you.

from hadrian.

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.