Working to execute cpp code of LASP on Windows. Streams are not working in ACME
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Anne de Jong 2023-05-03 12:44:32 -07:00
parent a0bbeea24d
commit 3e6c8cf3b2
3 changed files with 14 additions and 3 deletions

4
.gitignore vendored
View File

@ -1,6 +1,10 @@
*.a
*.pyc
*.so
*.dll
*.pyd
.ninja*
build.ninja
dist
src/lasp.egg-info
test/.ipynb_checkpoints

View File

@ -9,5 +9,5 @@ if(LASP_HAS_RTAUDIO)
set(RTAUDIO_API_JACK OFF CACHE BOOL "Do not build with Jack backend" FORCE)
endif()
set(RTAUDIO_BUILD_STATIC_LIBS ON CACHE BOOL "Build static libs for RtAudio" FORCE)
add_subdirectory(third_party/rtaudio)
add_subdirectory(${PROJECT_SOURCE_DIR}/third_party/rtaudio)
endif()

View File

@ -1,3 +1,10 @@
#!/bin/sh
#!/bin/bash
#
cmake . -G"MinGW Makefiles" -DLASP_HAS_ULDAQ=OFF -DPython3_ROOT_DIR=C:\\winpython\\python-3.10.9.amd64
cmake . -G"Ninja" -DLASP_HAS_ULDAQ=OFF -DPython3_ROOT_DIR=C:\\winpython\\python-3.10.9.amd64
files_to_cpy="libfftw3-3.dll libgcc_s_seh-1.dll libgfortran-5.dll libgomp-1.dll libopenblas.dll libquadmath-0.dll libstdc++-6.dll libwinpthread-1.dll"
for fn in ${files_to_cpy}; do
cp /c/msys64/mingw64/bin/${fn} src/lasp
done