Giter Site home page Giter Site logo

Comments (2)

pmunts avatar pmunts commented on September 27, 2024

The problem is even worse when cross-compiling, since the crate builds in ~/.local/share/alire/builds are awfully persistent, and it is easy to find yourself with a prior build for the wrong target and no way that I can find to coerce alr 2 to start over. I liked it better when alr 1 put subordinate library crate builds in the superordinate project directory.

See my Makefile workaround at https://github.com/pmunts/alire-goodies/blob/master/Makefile

This is related to, and a superset of, what I asked for in discussion #1307. With my Makefile workaround, make reallyclean does what I wanted in discussion #1307, and make distclean the same, plus what you (hexpunk) are requesting.

.Net Core and NuGet have a similar problem that I run into occasionally, but not often enough to incorporate in make files. I use a shell script I wrote called cleanupfiles that eradicates such flotsam.

from alire.

mosteo avatar mosteo commented on September 27, 2024

This feature is in the roadmap, yes.

it is easy to find yourself with a prior build for the wrong target

This shouldn't be happening because the compiler should be being taken into account as one of the variables for the unique build. Do you have a recipe to reproduce?

You can force the old behavior with alr settings --global --set dependencies.shared false.

from alire.

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.