From 332cd394c82edc7c34d110c5fb03d1e16d5a7355 Mon Sep 17 00:00:00 2001 From: Robin Scheibler Date: Thu, 8 Aug 2024 00:10:32 +0900 Subject: [PATCH] downgrading to windows 2019w --- .github/workflows/pythonpackage.yml | 2 +- pyroomacoustics/libroom_src/rir_builder.hpp | 2 ++ setup.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 0c4e5919..5518df14 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -12,7 +12,7 @@ jobs: matrix: #os: [ubuntu-latest, macos-13, macos-latest, windows-latest] #python-version: [3.8, 3.9, "3.10", "3.11", "3.12"] - os: [windows-latest] + os: [windows-2019] python-version: [3.8, 3.9] exclude: - os: macos-latest diff --git a/pyroomacoustics/libroom_src/rir_builder.hpp b/pyroomacoustics/libroom_src/rir_builder.hpp index f4802a4c..fe7f3557 100644 --- a/pyroomacoustics/libroom_src/rir_builder.hpp +++ b/pyroomacoustics/libroom_src/rir_builder.hpp @@ -17,4 +17,6 @@ void delay_sum(const py::buffer irs, const py::buffer delays, py::buffer output, void fractional_delay(py::buffer out, const py::buffer time, size_t lut_gran, size_t num_threads); +#include "rir_builder.cpp" + #endif // __RIR_BUILDER_HPP__ diff --git a/setup.py b/setup.py index a91a0746..ece0b76b 100644 --- a/setup.py +++ b/setup.py @@ -60,7 +60,7 @@ def __str__(self): ext_modules = [ Extension( "pyroomacoustics.libroom", - [os.path.join(libroom_src_dir, f) for f in ["libroom.cpp", "rir_builder.cpp"]], + [os.path.join(libroom_src_dir, f) for f in ["libroom.cpp"]], depends=libroom_files, include_dirs=[ ".",