Skip to content

Commit

Permalink
try to fix file endings for old Pd versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-wes committed May 24, 2024
1 parent e230c3d commit 4e81bf2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/compile-and-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ jobs:
run: brew install make

- name: Compile external
run: make install floatsize=${{ matrix.precision }} extension=darwin-${{ matrix.arch }}-${{ matrix.precision }}.so arch="x86_64 arm64"
run: |
if [ ${{ matrix.precision }} -eq 32 ]; then
make install floatsize=32 extension=d_fat arch="x86_64 arm64"
else
make install floatsize=64 extension=darwin-${{ matrix.arch }}-{{ matrix.precision }}.so arch="x86_64 arm64"
fi
- name: Archive artifacts
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -82,7 +87,7 @@ jobs:
shell: bash
run: |
export PATH="/c/msys64/mingw64/bin:$PATH" # Ensure MinGW GCC is preferred if needed
make install CC=gcc PDINCLUDEDIR="pd-${{env.PD_VERSION}}/src" PDDIR="pd-${{env.PD_VERSION}}" PDBINDIR="pd-${{env.PD_VERSION}}/bin" extension=windows-${{ matrix.arch }}-32.dll
make install CC=gcc PDINCLUDEDIR="pd-${{env.PD_VERSION}}/src" PDDIR="pd-${{env.PD_VERSION}}" PDBINDIR="pd-${{env.PD_VERSION}}/bin" extension=dll
- name: Archive artifacts
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion simplex~.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#define G4_4 0.5527864045

typedef void (*t_signal_setmultiout)(t_signal **, int);
static t_signal_setmultiout g_signal_setmultiout;
t_signal_setmultiout g_signal_setmultiout;
static t_class *simplex_tilde_class;

typedef struct _simplex_tilde {
Expand Down

0 comments on commit 4e81bf2

Please sign in to comment.