Add support for pre-compiled libvips on ARM CPUs

Uses a HypriotOS-managed docker container for this
This commit is contained in:
Lovell Fuller
2016-01-06 15:50:36 +00:00
parent 3c7cbf8685
commit a0e034a9e9
9 changed files with 219 additions and 11 deletions

View File

@@ -635,7 +635,7 @@ var counters = sharp.counters(); // { queue: 2, process: 4 }
_Requires libvips to have been compiled with liborc support_
Improves the performance of `resize`, `blur` and `sharpen` operations
by taking advantage of the SIMD vector unit of the CPU.
by taking advantage of the SIMD vector unit of the CPU, e.g. Intel SSE and ARM NEON.
* `enable`, if present, is a boolean where `true` enables and `false` disables the use of SIMD.
@@ -650,7 +650,7 @@ have been known to crash under heavy load.
```javascript
var simd = sharp.simd();
// simd is `true` is SIMD is currently enabled
// simd is `true` if SIMD is currently enabled
```
```javascript

View File

@@ -4,6 +4,10 @@
#### v0.12.2 - TBD
* Upgrade libvips to v8.2.0 for improved vips_shrink.
* Add pre-compiled libvips for ARMv6+ CPUs.
* Ensure 16-bit input images work with embed option.
[#325](https://github.com/lovell/sharp/issues/325)
[@janaz](https://github.com/janaz)

View File

@@ -17,7 +17,7 @@ npm install sharp
libvips and its dependencies are fetched and stored within `node_modules/sharp` during `npm install`.
This involves an automated HTTPS download of approximately 6MB.
Most recent 64-bit Linux-based operating systems should "just work", e.g.:
Most recent Linux-based operating systems running on x64 and ARMv6+ CPUs should "just work", e.g.:
* Debian 7, 8
* Ubuntu 12.04, 14.04, 14.10, 15.04, 15.10
@@ -25,12 +25,13 @@ Most recent 64-bit Linux-based operating systems should "just work", e.g.:
* Fedora 21, 22, 23
* openSUSE 13.2
* Archlinux 2015.06.01
* Raspbian Jessie
Preference will be given to an existing globally-installed (via `pkg-config`)
version of libvips that meets the minimum version requirement.
This allows the use of newer versions of libvips with older versions of sharp.
For older and 32-bit Linux-based operating systems,
For older Linux-based operating systems and 32-bit Intel CPUs,
a system-wide installation of the most suitable version of
libvips and its dependencies can be achieved by running
the following command as a user with `sudo` access