File: mexext

package info (click to toggle)
libsbml 5.19.7%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 115,608 kB
  • sloc: cpp: 460,814; xml: 340,122; ansic: 53,825; python: 12,463; makefile: 9,744; sh: 8,893; cs: 8,586; java: 8,151; perl: 6,133; ruby: 4,760; javascript: 1,605; php: 202; csh: 3
file content (6 lines) | stat: -rwxr-xr-x 263 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
#!/bin/sh

### simply uses matlab to get the correct mex extension ###
MAT_ARCH=glnxa64
test $(dpkg-architecture -qDEB_BUILD_ARCH) = i386 && MAT_ARCH=glnx86
matlab -arch=$MAT_ARCH -nosplash -nodesktop -nojvm -r "fprintf(2 , '%s\n', mexext); quit" 2>&1 | grep mex