2022-02-01 23:55:39 -03:00
|
|
|
These were compiled with default settings from:
|
|
|
|
|
2022-02-26 06:07:20 -03:00
|
|
|
https://github.com/kode54/libsoxr
|
|
|
|
|
|
|
|
Original upstream it was forked from:
|
|
|
|
|
2022-02-01 23:55:39 -03:00
|
|
|
https://github.com/nanake/libsoxr
|
|
|
|
|
|
|
|
Using CMake:
|
|
|
|
|
|
|
|
```
|
2022-02-26 06:07:20 -03:00
|
|
|
mkdir build-x86
|
|
|
|
mkdir build-arm
|
|
|
|
cd build-x86
|
|
|
|
cmake .. -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.12" -DBUILD_SHARED_LIBS=OFF -DWITH_OPENMP=OFF
|
2022-02-01 23:55:39 -03:00
|
|
|
make -j8
|
2022-02-26 06:07:20 -03:00
|
|
|
cd ../build-arm
|
|
|
|
cmake .. -DCMAKE_OSX_ARCHITECTURES="arm64" -DCMAKE_OSX_DEPLOYMENT_TARGET="11.0" -DBUILD_SHARED_LIBS=OFF -DWITH_OPENMP=OFF
|
|
|
|
make -j8
|
|
|
|
cd ..
|
|
|
|
lipo -create -output libsoxr.a build-x86/src/libsoxr.a build-arm/src/libsoxr.a
|
|
|
|
```
|