Skip to content

Commit

Permalink
debug mex file on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Mar 13, 2023
1 parent b76de50 commit afa6f89
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,13 @@ jobs:
octave-cli --eval "fprintf(1,['OCTAVE_ARCH=' regexprep(computer('arch'), 'darwin[0-9.]+-', 'darwin-')])" >> $GITHUB_ENV
- name: Build mmclab for MATLAB
run: |
which mex
cd src
if [[ "$RUNNER_OS" == "Windows" ]]; then
ls '/c/Program Files/MATLAB/R2022b/bin'
make mex
objdump -p ../mmclab/mmc.mexw* | grep "DLL Name:"
elif [[ "$RUNNER_OS" == "macOS" ]]; then
which mex
make mex CC=gcc-10 CXX=g++-10 MEXLINKOPT="-static-libstdc++ -static-libgcc -fopenmp" EXTRALIB="-v -f mexopts_maci64_gcc.xml"
otool -L ../mmclab/mmc.mex*
else
Expand Down

0 comments on commit afa6f89

Please sign in to comment.