vbenjs / vite-plugin-imagemin

A vite plugin for compressing image assets.
MIT License
207 stars 28 forks source link

Linux arm64 support #13

Closed Cat7373 closed 2 years ago

Cat7373 commented 2 years ago

There is currently no support for Linux on arm64. This is particularly important for users using a Raspberry PI or the new free pools in travis-ci.com

anncwb commented 2 years ago
  1. Add the following to the yum source
    
    [nasm]
    name=The Netwide Assembler
    baseurl=http://www.nasm.us/pub/nasm/stable/linux/
    enabled=1
    gpgcheck=0

[nasm-testing] name=The Netwide Assembler (release candidate builds) baseurl=http://www.nasm.us/pub/nasm/testing/linux/ enabled=0 gpgcheck=0

[nasm-snapshot] name=The Netwide Assembler (daily snapshot builds) baseurl=http://www.nasm.us/pub/nasm/snapshots/latest/linux/ enabled=0 gpgcheck=0


Create a new `Centos-Nasm.repo` under `/etc/yum.repos.d/` and copy the above content to this file

2. Execute `yum install libtool automake autoconf nasm`
3. Re-execute yarn install