Skip to content

Compiled binaries for v2.9.0; Windows, Linux and Mac OS (Apple silicon)#105

Open
cnuahs wants to merge 4 commits into
datajoint:release/v2.9.0from
cnuahs:build/v2.9.0-binaries
Open

Compiled binaries for v2.9.0; Windows, Linux and Mac OS (Apple silicon)#105
cnuahs wants to merge 4 commits into
datajoint:release/v2.9.0from
cnuahs:build/v2.9.0-binaries

Conversation

@cnuahs
Copy link
Copy Markdown
Contributor

@cnuahs cnuahs commented May 25, 2026

@dimitri-yatsenko: MEX binaries here for all platforms.

One caveat, the last commit here makes three notable changes to mktbx.m that I needed to get it to work on Windows (R2025b).

  1. top level mym.m has to be explicitly included. This actually fixes a bug in the version I initially committed, which left it out all together.
  2. . (and likely ..) need to be removed from the exclude patterns. Without this, the entire directory gets excluded and you end up with an empty files list when packaging.
  3. toolboxRootDir (and likely toolboxProjectDir) need to be relative paths, i.e., . rather than pwd.

This last point became problematic on Linux, which seems to want toolboxRootDir to be an absolute path, e.g., pwd. This could be due to platform differences in path handling, or changes in the matlab.addons.toolbox machinery in recent(ish) Matlab releases (this is probably more likely; my Linux machines are all on older releases <R2023b).

If you run into problems when packaging look there.

cnuahs added 4 commits May 18, 2026 09:40
- remove '.' and '..' from exlude patterns (seems necessary on
  Windows; R2025b).
- add 'mym.m' to list of includes.
- make 'toolboxRootDir' and 'toolboxProjectDir' relative paths.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant