From e55d5d956e0fdd15d25a0d393505f5e20e87005a Mon Sep 17 00:00:00 2001 From: Ryan Foster Date: Thu, 11 Jan 2024 14:30:06 -0500 Subject: [PATCH] deps.windows: Remove Carla After fairly lengthy and difficult internal discussions, we have decided that using Carla as a host for VST3 (and other) plugins is not the right path forward for the project. Let's remove this from our deps builds. --- Build-Dependencies.ps1 | 2 +- deps.windows/60-carla.ps1 | 75 --------------------------------------- 2 files changed, 1 insertion(+), 76 deletions(-) delete mode 100644 deps.windows/60-carla.ps1 diff --git a/Build-Dependencies.ps1 b/Build-Dependencies.ps1 index 4a4623f55..1a180e812 100644 --- a/Build-Dependencies.ps1 +++ b/Build-Dependencies.ps1 @@ -132,7 +132,7 @@ function Package-Dependencies { } dependencies { Get-ChildItem ./bin/*.lib | Move-Item -Destination ./lib - Get-ChildItem ./bin -Exclude 'carla-bridge-native.exe','carla-discovery-native.exe','libcarla_utils.dll','lua51.dll','libcurl.dll','swig.exe','Lib' | Remove-Item + Get-ChildItem ./bin -Exclude 'lua51.dll','libcurl.dll','swig.exe','Lib' | Remove-Item Get-ChildItem ./cmake/pcre2*,./lib/pcre2* | Remove-Item Remove-Item -Recurse ./lib/pkgconfig Remove-Item -Recurse ./man diff --git a/deps.windows/60-carla.ps1 b/deps.windows/60-carla.ps1 deleted file mode 100644 index 87affacc6..000000000 --- a/deps.windows/60-carla.ps1 +++ /dev/null @@ -1,75 +0,0 @@ -param( - [string] $Name = 'carla', - [string] $Version = '2.6.0-alpha1', - [string] $Uri = 'https://github.com/falkTX/Carla.git', - [string] $Hash = 'cb7f1a975790dda458481e88de0a29c433b706c9' -) - -function Setup { - Setup-Dependency -Uri $Uri -Hash $Hash -DestinationPath $Path -} - -function Clean { - Set-Location $Path - - if ( Test-Path "build_${Target}" ) { - Log-Information "Clean build directory (${Target})" - Remove-Item -Path "build_${Target}" -Recurse -Force - } -} - -function Configure { - Log-Information "Configure (${Target})" - Set-Location $Path - - $Options = @( - $CmakeOptions - '-DCARLA_USE_JACK:BOOL=OFF' - '-DCARLA_USE_OSC:BOOL=OFF' - ) - - Invoke-External cmake -S cmake -B "build_${Target}" @Options -} - -function Build { - Log-Information "Build (${Target})" - Set-Location $Path - - $Options = @( - '--build', "build_${Target}" - '--config', $Configuration - ) - - if ( $VerbosePreference -eq 'Continue' ) { - $Options += '--verbose' - } - - Invoke-External cmake @Options -} - -function Install { - Log-Information "Install (${Target})" - Set-Location $Path - - $Options = @( - '--install', "build_${Target}" - '--config', $Configuration - ) - - if ( $Configuration -match "(Release|MinSizeRel)" ) { - $Options += '--strip' - } - - Invoke-External cmake @Options -} - -function Fixup { - Log-Information "Fixup (${Target})" - Set-Location $Path - - Remove-Item -ErrorAction 'SilentlyContinue' "$($ConfigData.OutputPath)/bin/libcarla_native-plugin.dll" - Remove-Item -ErrorAction 'SilentlyContinue' "$($ConfigData.OutputPath)/bin/libcarla_standalone2.dll" - - Remove-Item -ErrorAction 'SilentlyContinue' "$($ConfigData.OutputPath)/lib/libcarla_native-plugin.lib" - Remove-Item -ErrorAction 'SilentlyContinue' "$($ConfigData.OutputPath)/lib/libcarla_standalone2.lib" -}