Replies: 4 comments 5 replies
-
I managed to set the CXX flags by inserting That is not at all comparable to the Linux build though. However, when I added |
Beta Was this translation helpful? Give feedback.
-
When I tested this a while back, as I recall I was seeing about a 10% reduction using clang. So that is roughly in line with what you saw without the I just tested the build you shared on discord, and I'm seeing a 30% improvement over the Visual Studio build (for standard WaveNet models). My guess is that the official plugin would see comparable improvements. I had a issue open there, but it was closed a while back: |
Beta Was this translation helpful? Give feedback.
-
@38github The github build should now be producing optimized binaries. I've verified that the Windows version is working. When you get a chance, can you try the Linux version? You can download it here: https://github.com/mikeoliphant/neural-amp-modeler-lv2/actions/runs/6630279810 |
Beta Was this translation helpful? Give feedback.
-
if cmake outputs this error: `CMake Error at CMakeLists.txt:3 (project): Tell CMake where to find the compiler by setting either the environment just install clang. and try again. |
Beta Was this translation helpful? Give feedback.
-
I compiled the plugin on Windows using the LLVM package for Visual Studio 2022 and made sure (
cmake.exe -G "Visual Studio 17" -A x64 -T ClangCL ..
) that it actually was Clang that was used during compiling. I am not sure if it used -O3 -flto=thin like I compile it with on Linux but the performance to my surprise was almost like the official VST3 version which is about twice that of my Linux compile.Anyone know how to successfully add C, CXX and LD flags to a cmake project on Windows? I tried setx CFLAGS -O3 -flto=thin and also adding a couple of lines that I don't remember precisely what they were to the CMakeList file.
Regards
Beta Was this translation helpful? Give feedback.
All reactions