Skip to content

Commit

Permalink
Patch for the 2.4.0 SDK (#908)
Browse files Browse the repository at this point in the history
- plugin-arm to plugin
- modify github workflows
- no functional changes
  • Loading branch information
baconpaul authored Aug 8, 2023
1 parent 786da84 commit 0ffc67e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build VCV Rack Plugin
on: [push, pull_request]

env:
rack-sdk-version: 2.3.0
rack-sdk-version: 2.4.0
rack-plugin-toolchain-dir: /home/build/rack-plugin-toolchain

defaults:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ifdef ARCH_MAC
RACK_PLUGIN_EXT := dylib
ifdef ARCH_ARM64
EXTRA_CMAKE := -DCMAKE_OSX_ARCHITECTURES="arm64"
RACK_PLUGIN_ARCH := -arm64
# RACK_PLUGIN_ARCH := -arm64
endif
endif

Expand Down
4 changes: 2 additions & 2 deletions RackSDK.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Mapping of plugin build definitions from the Rack-SDK arch.mk, compile.mk, dep.mk and plugin.mk to CMake.

set(RACK_SDK_VERSION 2.2.2)
set(RACK_SDK_VERSION 2.4.0)
message(STATUS "Load RackSDK.cmake (mapping based on Rack-SDK-${RACK_SDK_VERSION})")

if ("${RACK_SDK_DIR}" STREQUAL "")
Expand Down Expand Up @@ -29,7 +29,7 @@ endif ()

# Do not change the RACK_PLUGIN_LIB!
if (${CMAKE_OSX_ARCHITECTURES} MATCHES "arm64")
set(RACK_PLUGIN_ARCH -arm64)
#set(RACK_PLUGIN_ARCH -arm64)
endif ()
set(RACK_PLUGIN_LIB plugin${RACK_PLUGIN_ARCH})

Expand Down

0 comments on commit 0ffc67e

Please sign in to comment.