Comments (3)
It is possible, but I don't think that's a sensible path to pursue. To build nasm I'd need (in addition to a C compiler toolchain) autotools and Perl, which not every platform has, so this moves the problem by one step: should I build autotools and Perl too? And their dependencies?
Nasm has packages for every Linux distro, Mac Homebrew, and an installer for Windows, so it's not that difficult to get.
I'm providing pre-build binaries for cavif, so users don't need to install nasm. It's only required for building from source, and I think it's reasonable to ask developers to install a common developer tool.
from cavif-rs.
No, Cargo build scripts are not allowed to change the operating system. They could download a private copy of nasm, but that's a weird hack.
Use pre-built binaries if you don't want to install dev dependencies.
from cavif-rs.
What about building a local nasm from a copy of local nasm source code in the build script? Isn't this possible with nasm?
from cavif-rs.
Related Issues (20)
- Illegal instruction / trap invalid opcode HOT 6
- I'm not sure this compression is correct? HOT 2
- Add a flag to save the original creation date of the image HOT 1
- Update help message re. quality HOT 2
- 10-bit encoding is not available HOT 2
- 'error: too many pixels, not supported' on large files, again HOT 5
- Invalid starting bytes of the final image HOT 1
- No way to do 8 bit encoding any more ? HOT 3
- Weird pink stripe to the right side of AVIF generated from PNG HOT 3
- SIGILL when trying to use `-s 0` or `-Q 0` HOT 3
- cavif 1.5.2 images are no longer valid according to windows HOT 5
- [Feature request]: Add webp format support for input images HOT 1
- cannot compile on debian 32bit HOT 1
- EXIF meta data HOT 2
- New Release HOT 1
- Building with Rust Nightly hangs forever HOT 1
- Cavif on Alpine linux HOT 2
- Detected as Malware HOT 3
- `cargo install cavif` fails due to inline `const` in `bitstream` crate HOT 2
- Recent patch upgrade seems to require more recent rustc version (1.79) HOT 4
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 cavif-rs.