diff --git a/bin/compile-version-MacOS b/bin/compile-version-MacOS index 1958a6713..cd8f42c11 100755 --- a/bin/compile-version-MacOS +++ b/bin/compile-version-MacOS @@ -131,14 +131,14 @@ make install ) test -f $prefix/bin/h5c++ || ( cd hdf5-$VERSION_HDF5 -./configure '--enable-cxx' 'CC=clang' 'CXX=clang++' --prefix=$prefix $addconfig +./configure '--enable-cxx' 'CC=clang' 'CXX=clang++' --prefix=$prefix $addconf make -j $njob make install ) #test -f $prefix/lib/pkgconfig/mpich.pc || ( #cd mpich-$VERSION_MPI -#./configure --prefix=$prefix "FFLAGS=-fallow-argument-mismatch -L$prefix/gnu -lgfortran -lquadmath" 'CC=clang' 'CXX=clang++' $addconfig +#./configure --prefix=$prefix "FFLAGS=-fallow-argument-mismatch -L$prefix/gnu -lgfortran -lquadmath" 'CC=clang' 'CXX=clang++' $addconf #make -j $njob #make install #) @@ -154,7 +154,7 @@ echo2 ================================ export PATH=$prefix/bin:$PATH #autoreconf -i tar zxvf AutoGeneratedFile.tar.gz -./configure "--prefix=$prefix" '--enable-download' $optionconf '--enable-m64' 'CXXFLAGS=-Wno-undefined-var-template' "FLIBS=-L$prefix/gnu -lgfortran -lquadmath -Wl,-ld_classic" $addconfig +./configure "--prefix=$prefix" '--enable-download' $optionconf '--enable-m64' 'CXXFLAGS=-Wno-undefined-var-template' "FLIBS=-L$prefix/gnu -lgfortran -lquadmath -Wl,-ld_classic" $addconf echo2 ================================ echo2 compilation de petc echo2 ================================ diff --git a/readme/README_MAC.md b/readme/README_MAC.md index 401404b7e..fdd264c11 100644 --- a/readme/README_MAC.md +++ b/readme/README_MAC.md @@ -21,28 +21,36 @@ ## Sep 2023 -the mac version is compile wit the script - bin/compile-version-MacOS gitbranch path-where-to-compile configure-parameter - - configure-parameter compilation: - generic for --enable-genenic - debug for --enable-debug - optim for --enable-optim +The mac version is compiled with the script: + +``` bash +bin/compile-version-MacOS gitbranch path-where-to-compile configure-parameter +``` + +`configure-parameter` can take the following values: + ++ generic for --enable-generic ++ debug for --enable-debug ++ optim for --enable-optim - and exact : - bin/compile-version-MacOS master $HOME/tmp generic +and exact: +```bash +bin/compile-version-MacOS master $HOME/tmp generic +``` + ## Feb 2022 -The Version 4.10 is compiled Under Monteray (Apple M1: arm64e) and on (Apple : x86 ) +The Version 4.10 is compiled Under Monteray (Apple M1: arm64e) and on (Apple : x86) ### for Apple M1 (arm64e) -Add with home brew -1. install brew see -[install Homebrew]{https://brew.sh/index_fr} +Add with Homebrew + +1. Install Homebrew + +See [install Homebrew](https://brew.sh/index_fr) - -2. install this brew package to compile FreeFEM++ +2. Install these brew packages to compile FreeFEM++ ```bash brew install \ @@ -64,7 +72,7 @@ gd isl libunistring openssl@1.1 zip \ gdbm jansson libvmaf p11-kit zstd ``` -3. download the sources of FreeFEM++ with git +3. Download the sources of FreeFEM++ with git ```bash git clone git@github.com:FreeFem/FreeFem-sources.git ff++ @@ -74,7 +82,7 @@ or the develop version ```bash git clone -b develop git@github.com:FreeFem/FreeFem-sources.git ff++ ``` -4. Compile FreeFem++ without petsc and MPI +4. Compile FreeFem++ without PETSc and MPI ```bash cd ff++