Comments (3)
Meson uses Python's shutil.copy. Its documentation says "If [destination file] already exists, it will be replaced." so it should already be doing what you suggest. A quick test seems to verify this.
from meson.
Ah apologies. In my case it was the creation of a symlink in shared library installation that caused the problem - looks like os.symlink
doesn't like it if the destination symlink already exists. Although an uninstall target would still be cool 😆
from meson.
Meson now deletes the old symlink should one exist.
from meson.
Related Issues (20)
- BlockingIOError when running meson test on the master branch HOT 1
- [feature] pre-commit hooks HOT 4
- [feature] Add a builtin option to install targets by default HOT 2
- gnome.generate_gir never becomes stale HOT 2
- gnome: Pass --quiet to glib-genmarshal
- string.format() with identity-expressions HOT 1
- join_paths() works wrong when meet Windows style absolute path HOT 5
- warn when (sub)project overwrites devenv HOT 4
- find_library finds library even when it shouldn't
- meson does not run build scripts for "Cargo wraps" (Rust crates) HOT 8
- Meson fails to configure OpenMP when using Clang from MacPorts HOT 3
- `find_program` produces an object with an inconsistent interface when `meson.override_find_program` overrides the specified program HOT 3
- UnicodeDecodeError when installing scipy HOT 3
- Issue with Building pandas 2.2.2 HOT 2
- rfe: install_rpath and build_rpath should accept string list HOT 4
- rfe: please add @PLAINNAME0@ HOT 2
- pandas install failing HOT 5
- Wheels built for the Python limited API on Windows should link against python3.dll, not minor version specific library like python39.dll HOT 4
- generator.process() doesn't handle custom target/index from subdirectories correctly HOT 3
- depfile support vs generator.process(..., preserve_path_from: ...) HOT 1
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 meson.