You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The platform (Windows, Unix, MacOS) dependent mex files need to be compiled manually every time their source code is changed. Is there a way to automatize it?
On every push to master a GitHub action can run that checks if the source code has changed. If yes, mex files are compiled on all three platforms and pushed to the repository for a new commit.
Keep mex files outside of source control and only create and package them up with builds. This has the disadvantage developers need to manually generate them after cloning the repo.
The text was updated successfully, but these errors were encountered:
The generation of this mex file may be related to its generation environment and platform, such as MATLAB's parallel mode: Threads or processes, C/C++'s corresponding mex compiler, Intel oneapi or VS studio? After my personal test, the most basic MATLAB parallel mode is different, the mex cannot be called. Therefore, this part needs to be standardized and rigorously tested.
error code:
Parallel pool is ready.
Error using LineShapes (line 61)
Use of MEX functions is not supported on a thread-based
worker. Use a PARPOOL('Processes') process-based pool or
a different process-based pool instead.
The platform (Windows, Unix, MacOS) dependent
mex
files need to be compiled manually every time their source code is changed. Is there a way to automatize it?On every push to
master
a GitHub action can run that checks if the source code has changed. If yes,mex
files are compiled on all three platforms and pushed to the repository for a new commit.Keep
mex
files outside of source control and only create and package them up with builds. This has the disadvantage developers need to manually generate them after cloning the repo.The text was updated successfully, but these errors were encountered: