Comments (2)
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.
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)
- During publishing, do a shallow copy HOT 1
- Read-only mode of source code files in the cache HOT 1
- Need environment variable pointing to master project directory HOT 2
- Two alr processes in the same folder HOT 1
- `alr get --build hello` fails on a fresh install HOT 1
- On macOS, download appropriate alr binary
- External crates which are provided natively by a particular OS HOT 1
- Enhancement: Distribute bash completion with alr HOT 1
- Exception thrown when dealing with non-semver version strings HOT 2
- Can't force post-fetch anymore HOT 2
- Alire Index: many crates don't have a website, but the repository could be used HOT 2
- alr publish doesn't ask user for installation of external dependancies. HOT 1
- When publishing and then locally pinning crate with custom manifest file name, crate cannot be found HOT 2
- Identify global variables or have settings unset both HOT 1
- alr -r action post-fetch does not set any environment variables
- Problem with alr build / environment after with'ing gnoga HOT 3
- Allow overriding of environment/configuration variables from the root crate
- GNAT 14.1.0 and RedHat 8.4 HOT 1
- Insight into environment/configuration variables
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alire.