styler00dollar / VapourSynth-RIFE-ncnn-Vulkan

RIFE filter for VapourSynth
MIT License
97 stars 22 forks source link

Changes for Mac #5

Closed ViRb3 closed 8 months ago

ViRb3 commented 1 year ago

Here are some changes that I had to make in order to get this working on MacBook Pro M1 Max. Note that Apple ships with its own clang compiler, but it does not support the OpenMP extension necessary to compile this repo, so you have to use clang from brew.

I'm not sure what is the best way to incorporate these changes in your repo to keep compatibility with Linux/Windows, and since my C++ build system knowledge is very bad, I am leaving this for grabs. Thanks!

styler00dollar commented 8 months ago

Well I am quite late, but I integrated mac support into my github workflow. Thanks for giving me a reference since I don't even own a Mac myself. I only added x86_64, since arm github workflows cost money.

radeva commented 7 months ago

I only added x86_64, since arm github workflows cost money.

@styler00dollar You can try FlyCI's M1 and M2 runners. They are on average 2x faster and 2x cheaper than GitHub's AND we have a free tier for OSS projects (see below).

Install Instructions

  1. Install FlyCI app and
  2. Easily replace one line of code and start using FlyCI runners:
jobs:
 ci:
-    runs-on: macos-latest
+    runs-on: flyci-macos-large-latest-m1
   steps:
   - name: 👀 Checkout repo
     uses: actions/checkout@v4

500 mins/month Free for Public Repos

Since your repo is public, FlyCI offers 500 mins/month of free M1 runner usage with the flyci-macos-large-latest-m1 runner for public projects.

Don't hesitate to contact us in case the free tier doesn't suit your needs or you experience any issues with the runners. Our team is here to support you!

Best Regards, Veselina Radeva Product Manager at FlyCI