Skip to content

Commit

Permalink
update VISR
Browse files Browse the repository at this point in the history
- switch to branch in BEAR repository rather than a zip
- misc updates from 0.13 branch
- update pybind11 to 2.11.1 (see #12)
- fix missing includes (see #12)
- switch to C++14 for new versions of boost
- fix ffts build for clang on linux
  • Loading branch information
tomjnixon committed Nov 21, 2023
1 parent e60b9a6 commit 15875cb
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 11 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,10 @@ To reformat code to match the existing style, run `black` on any changed sources

### VISR

Get VISR 0.13.0 or greater. Currently this is available here:
Get VISR 0.13.0 or greater. Currently this is available in the `visr` branch of this repository, or here:

https://github.com/ebu/bear/releases/download/v0.0.1-pre/visr-0.13.0-pre-5e13f020.zip
- zip: https://github.com/ebu/bear/archive/refs/heads/visr.zip
- tar.gz: https://github.com/ebu/bear/archive/refs/heads/visr.tar.gz

Eventually this will be available from the upstream repository:

Expand Down
16 changes: 10 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
};

inputs.visr_src = {
url = "https://github.com/ebu/bear/releases/download/v0.0.1-pre/visr-0.13.0-pre-5e13f020.zip";
type = "git";
url = "https://github.com/ebu/bear.git";
ref = "visr";
flake = false;
};

Expand Down
4 changes: 2 additions & 2 deletions nix/visr.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
"-DBUILD_STANDALONE_APPLICATIONS=false"
];
postPatch = ''
sed -i "s%set( PYTHON_MODULE_INSTALL_DIRECTORY .*$%set( PYTHON_MODULE_INSTALL_DIRECTORY \"$out/${python.sitePackages}\")%" CMakeLists.txt
sed -i 's/ADD_SUBDIRECTORY( apps )//' src/CMakeLists.txt
substituteInPlace CMakeLists.txt \
--replace "\''${VISR_TOPLEVEL_INSTALL_DIRECTORY}/python" "$out/${python.sitePackages}"
'';
}

0 comments on commit 15875cb

Please sign in to comment.