Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
347d6ccc
Commit
347d6ccc
authored
Jun 03, 2013
by
Houtan Bastani
Browse files
os x package creation: link to universal, static matio and gsl libraries
parent
781f2fe3
Changes
1
Hide whitespace changes
Inline
Side-by-side
osx/createOsxFolderForPkg.sh
View file @
347d6ccc
...
...
@@ -47,7 +47,7 @@ cp -r $TOP_DYN_DIR/examples $INSTALLDIR
##########################################################
# FIRST BUILD 32 BIT EVERYTHING, 32 BIT MATLAB < 7.5 MEX #
##########################################################
./configure
FFLAGS
=
'-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -arch i386'
CPPFLAGS
=
'-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -arch i386'
LDFLAGS
=
'-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -arch i386'
--with-matlab
=
/Applications/MATLAB_OLD/R2007a
MATLAB_VERSION
=
7.4
--with-gsl
=
/usr/local32
--with-slicot
=
/usr/local32
--with-matio
=
/usr/local
32
./configure
FFLAGS
=
'-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -arch i386'
CPPFLAGS
=
'-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -arch i386'
LDFLAGS
=
'-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -arch i386'
--with-matlab
=
/Applications/MATLAB_OLD/R2007a
MATLAB_VERSION
=
7.4
--with-slicot
=
/usr/local32
--with-matio
=
/usr/local
Static
--with-gsl
=
/usr/localStatic
make pdf
cd
$TOP_DYN_DIR
/preprocessor
...
...
@@ -112,7 +112,7 @@ cp $TOP_DYN_DIR/dynare++/kord/kord.pdf
##############################################
make clean
cd
$TOP_DYN_DIR
/mex/build/matlab
./configure
FFLAGS
=
'-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -arch i386'
CPPFLAGS
=
'-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -arch i386'
LDFLAGS
=
'-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -arch i386'
--with-matlab
=
/Applications/MATLAB_OLD/MATLAB_R2009b_32bit/MATLAB_R2009b.app
MATLAB_VERSION
=
7.9
MEXEXT
=
'mexmaci'
--with-gsl
=
/usr/local32
--with-slicot
=
/usr/local32
--with-matio
=
/usr/local
32
./configure
FFLAGS
=
'-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -arch i386'
CPPFLAGS
=
'-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -arch i386'
LDFLAGS
=
'-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -arch i386'
--with-matlab
=
/Applications/MATLAB_OLD/MATLAB_R2009b_32bit/MATLAB_R2009b.app
MATLAB_VERSION
=
7.9
MEXEXT
=
'mexmaci'
--with-slicot
=
/usr/local32
--with-matio
=
/usr/local
Static
--with-gsl
=
/usr/localStatic
make
# Matlab
...
...
@@ -134,7 +134,7 @@ cp $TOP_DYN_DIR/mex/build/matlab/sobol/*.mexmaci
#####################################
make clean
cd
$TOP_DYN_DIR
/mex/build/matlab
./configure
--with-matlab
=
/Applications/MATLAB_OLD/MATLAB_R2009b.app
MATLAB_VERSION
=
7.9
./configure
--with-matlab
=
/Applications/MATLAB_OLD/MATLAB_R2009b.app
MATLAB_VERSION
=
7.9
--with-matio
=
/usr/localStatic
--with-gsl
=
/usr/localStatic
make
# Matlab
...
...
@@ -155,7 +155,7 @@ cp $TOP_DYN_DIR/mex/build/matlab/sobol/*.mexmaci64
#####################################
make clean
cd
$TOP_DYN_DIR
/mex/build/octave
./configure
./configure
--with-matio
=
/usr/localStatic
--with-gsl
=
/usr/localStatic
make
# Octave
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment