Skip to content

Commit

Permalink
fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
qno authored Nov 14, 2023
1 parent cdad7c6 commit a0eba73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
image: ghcr.io/qno/rack-plugin-toolchain
options: --user root
strategy:
fail-fast: false
matrix:
platform: [win-x64, linux-x64, mac-x64, mac-arm64]
steps:
Expand Down
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ include $(RACK_DIR)/arch.mk

EXTRA_CMAKE :=
RACK_PLUGIN_NAME := plugin
RACK_PLUGIN_ARCH :=
RACK_PLUGIN_EXT := so

ifdef ARCH_WIN
Expand All @@ -16,11 +15,10 @@ ifdef ARCH_MAC
RACK_PLUGIN_EXT := dylib
ifdef ARCH_ARM64
EXTRA_CMAKE := -DCMAKE_OSX_ARCHITECTURES="arm64"
RACK_PLUGIN_ARCH := -arm64
endif
endif

RACK_PLUGIN := $(RACK_PLUGIN_NAME)$(RACK_PLUGIN_ARCH).$(RACK_PLUGIN_EXT)
RACK_PLUGIN := $(RACK_PLUGIN_NAME).$(RACK_PLUGIN_EXT)

CMAKE_BUILD ?= dep/cmake-build
cmake_rack_plugin := $(CMAKE_BUILD)/$(RACK_PLUGIN)
Expand Down

0 comments on commit a0eba73

Please sign in to comment.