Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 073a8486 authored by hhakim's avatar hhakim
Browse files

Minor change: updating Win and Linux post install scripts for the gpu_mod...

Minor change: updating Win and Linux post install scripts for the gpu_mod auto-loading to be silent for matfaust (as it is already for pyfaust).
parent 97ae5fe2
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ else
then
grep -i -v faust "$USR_STARTUP_FILE" > "${USR_STARTUP_FILE}.tmp" 2>/dev/null && mv "${USR_STARTUP_FILE}.tmp" "$USR_STARTUP_FILE"
echo "addpath(genpath('"$FAUST_MATLAB_WRAPPER_PATH"'))" >> "$USR_STARTUP_FILE"
echo "matfaust.enable_gpu_mod()" >> "$USR_STARTUP_FILE"
echo "matfaust.enable_gpu_mod('silent', true)" >> "$USR_STARTUP_FILE"
chown $USER $USR_STARTUP_FILE
RET2=$(($?+$RET2))
fi
......
......@@ -243,13 +243,13 @@ Function matlabFoundCb
FileOpen $1 "$R4\toolbox\local\startup.m" a
FileSeek $1 0 END ; do not erase start of file (but risk to add Faust path multiple times)
FileWrite $1 "$\r$\naddpath(genpath('$INSTDIR\matlab'));$\r$\nmatfaust.enable_gpu_mod()"
FileWrite $1 "$\r$\naddpath(genpath('$INSTDIR\matlab'));$\r$\nmatfaust.enable_gpu_mod('silent', true)"
FileClose $1
FileOpen $1 "$DOCUMENTS\MATLAB\startup.m" w
IfErrors done
FileSeek $1 0 END
FileWrite $1 "$\r$\naddpath(genpath('$INSTDIR\matlab'));$\r$\nmatfaust.enable_gpu_mod()"
FileWrite $1 "$\r$\naddpath(genpath('$INSTDIR\matlab'));$\r$\nmatfaust.enable_gpu_mod('silent', true)"
FileClose $1
done:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment