Skip to content

Commit a7d3089

Browse files
authored
Merge pull request #165 from FreeFem/develop
Version 4.8
2 parents 0804136 + 37f6a59 commit a7d3089

File tree

102 files changed

+2131
-899
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+2131
-899
lines changed

3rdparty/ff-petsc/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ all-local:
146146
@echo " make petsc-slepc "
147147

148148
DIRPKG=../pkg
149-
VERSION=3.14.0
150-
VERSION_SLEPC=3.013.4
149+
VERSION=3.14.2
150+
VERSION_SLEPC=3.14.0
151151
PACKAGE=../pkg/petsc-lite-$(VERSION).tar.gz
152152
SRCDIR=petsc-$(VERSION)
153153
MPI_DIR:=$(shell dirname $(MPI_INC_DIR))

3rdparty/getall

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -174,18 +174,18 @@ download('TetGen','http://www.tetgen.org/1.5/src/tetgen1.5.1-beta1.tar.gz',
174174
'http://www.tetgen.org/1.5/src/',
175175
'tetgen1.5.1-beta1.tar.gz',
176176
'3d55c197bcbfc611b7ced6f343643756');
177-
download('mmg','https://github.com/MmgTools/mmg/archive/f353d07ea55da617965806a39de8a6d76f3e020f.zip',
177+
download('mmg','https://github.com/MmgTools/mmg/archive/a90b665e909a3921490d3e281f7afa2d243a5ba0.zip',
178178
'https://github.com/MmgTools',
179179
'mmg.zip',
180-
'031e09d35c433e1a5b2900c207cba344');
180+
'd824d08dac0544caff20a915194da0fe');
181181
download('parmmg','https://github.com/MmgTools/ParMmg/archive/f78f4e3e1019137787588aab7a8052fbc60dada2.zip',
182182
'https://github.com/MmgTools',
183183
'parmmg.zip',
184184
'9a76fef6be1ab66af3a813409a0388c9');
185-
download('PETSc','https://www.mcs.anl.gov/petsc/mirror/release-snapshots/petsc-lite-3.14.0.tar.gz',
185+
download('PETSc','https://www.mcs.anl.gov/petsc/mirror/release-snapshots/petsc-lite-3.14.2.tar.gz',
186186
'https://www.mcs.anl.gov/petsc/mirror/release-snapshots/',
187-
'petsc-lite-3.14.0.tar.gz',
188-
'fb9f43e559e317160cb88265a3975bb5');
187+
'petsc-lite-3.14.2.tar.gz',
188+
'c3433f6f5f4ad8d5823ca69dd0c2f3e6');
189189

190190
download('htool','https://github.com/htool-ddm/htool/archive/e008e87bded5626d73fa7655487aee48268e2149.zip',
191191
'https://github.com/htool-ddm/',

3rdparty/ipopt/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ $(SRCDIR)/FAIT: $(SRCDIR)/tag-tar
4949
CC='$(CC)' CFLAGS='$(CFLAGS) -I$(INCMUMPS)' \
5050
F77='$(FC)' FFLAGS='$(FCFLAGS)' \
5151
FLIBS='$(FLIBS)' \
52-
CXXCPP='$(CXXCPP)' CPP='$(CXXCPP)' \
52+
CXXCPP='$(CXXCPP)' CPP='$(CXXCPP)' MPICC='' MPICXX='' MPIFC='' \
5353
--with-blas-lib='$(LIBBLAS)' --with-lapack='$(LIBLAPACK)' --prefix='$(DOWNLOADFF)'
5454
-rm -rf ../include/coin
5555
touch $(SRCDIR)/FAIT

3rdparty/mmg/Makefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ install.done:FAIT.done
3838
cp -r build/include/mmg ../include/mmg
3939
cp build/lib/libmmg.a ../lib
4040
touch $@
41-
clean::
42-
-rm install.done FAIT.done
4341

4442
mmg:$(PACKAGE)
4543

@@ -67,14 +65,16 @@ $(PACKAGE): FORCE
6765
FORCE:
6866

6967
clean::
70-
-rm ff-flags
68+
-rm ff-flags *.done
7169
-rm FAIT*
7270
-rm -rf mmg-* build
7371
-rm flags-* tag-tar*
7472
-rm -rf ../include/mmg
7573
-rm ../lib/libmmg.a
7674

77-
ff-flags: ../Makefile Makefile
75+
ff-flags: ../Makefile Makefile ../getall
76+
../getall -o mmg -a
77+
-cp -f ff-flags ff-flags.old
7878
grep 'abs_top_builddir *=' ../Makefile > ff-flags
7979
grep 'CC *=' ../Makefile >> ff-flags
8080
grep 'CFLAGS *=' ../Makefile >> ff-flags
@@ -92,5 +92,7 @@ ff-flags: ../Makefile Makefile
9292
grep 'FF_prefix_petsc_real *=' ../Makefile >> ff-flags
9393
-awk '/^scotch LD /&&/petsc/ {print "scotch_dir=$$(FF_prefix_petsc_real)" }' ../../plugin/seq/WHERE_LIBRARY-config >> ff-flags
9494
-awk '/^scotch LD /{print "scotch_dir=../../../3rdparty/" }' ../lib/WHERE.scotch >> ff-flags
95+
../../bin/ff-md5 $(PACKAGE) >> ff-flags
96+
if diff -q ff-flags ff-flags.old ; then echo No Modif skip compile of mmg ; else touch -c tag-tar; fi
9597

9698
.PHONY:$(SRCDIR)/$(INSTALL)

3rdparty/parmmg/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ clean::
8282
-rm -rf ../include/parmmg
8383
-rm ../lib/libparmmg.a
8484

85-
ff-flags: ../Makefile Makefile
85+
ff-flags: ../Makefile Makefile ../getall
86+
../getall -o parmmg -a
87+
-cp -f ff-flags ff-flags.old
8688
grep 'abs_top_builddir *=' ../Makefile > ff-flags
8789
grep 'CC *=' ../Makefile >> ff-flags
8890
grep 'FC *=' ../Makefile >> ff-flags
@@ -107,5 +109,7 @@ ff-flags: ../Makefile Makefile
107109
-awk '/^scotch LD /{print "scotch_dir=../../../3rdparty/" }' ../lib/WHERE.scotch >> ff-flags
108110
-awk '/^metis LD /&&/petsc/ {print "metis_dir=$$(FF_prefix_petsc_real)" }' ../../plugin/seq/WHERE_LIBRARY-config >> ff-flags
109111
-awk '/^metis LD /{print "metis_dir=../../../3rdparty/" }' ../lib/WHERE.metis >> ff-flags
112+
../../bin/ff-md5 $(PACKAGE) >> ff-flags
113+
if diff -q ff-flags ff-flags.old ; then echo No Modif skip compile of parmmg ; else touch -c tag-tar; fi
110114

111115
.PHONY:$(SRCDIR)/$(INSTALL)

3rdparty/tetgen/Makefile

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,28 +21,28 @@ INSTALL=../..
2121
tetgen: FAIRE
2222

2323

24-
FAIRE:install.done $(SRCDIR)/FAIT cxxflags WHERE.done
24+
FAIRE:install.done WHERE.done
2525
touch FAIRE
2626

2727

2828
# ALH - FFCS - 18/12/8 - need '-fPIC' on Linux64 because the .a will be used in a .so (by examples++-load/tetgen.cpp).
2929

3030
# FFCS - 30/11/10 - need ranlib on Win64. The PATH is setup so that mingw/ranlib is called
3131

32-
$(SRCDIR)/FAIT: $(SRCDIR)/tags cxxflags
32+
fait-tags.done:tar-tags.done cxxflags
3333
cd $(SRCDIR);$(CXX) $(CXXFLAGS) -O3 -fPIC -DSELF_CHECK -DNDEBUG -DTETLIBRARY -c tetgen.cxx
3434
cd $(SRCDIR);$(CXX) $(CXXFLAGS) -O0 -fPIC -DSELF_CHECK -DNDEBUG -DTETLIBRARY -c predicates.cxx
35-
touch $(SRCDIR)/FAIT
35+
touch fait-tags.done
3636
WHERE:WHERE.done
37-
WHERE.done: $(SRCDIR)/FAIT
37+
WHERE.done: fait-tags.done
3838
echo tetgen LD -L@DIR@/lib -ltet >$(SRCDIR)/$(INSTALL)/lib/WHERE.tetgen
3939
echo tetgen INCLUDE -I@DIR@/include >> $(SRCDIR)/$(INSTALL)/lib/WHERE.tetgen
4040
touch $@
4141
clean-local::
4242
-rm WHERE.done
4343

4444
# FFCS - avoid remaking install every time
45-
install.done:$(SRCDIR)/FAIT
45+
install.done:fait-tags.done
4646
cd $(SRCDIR);$(AR) $(ARFLAGS) $(INSTALL)/lib/libtet.a tetgen.o predicates.o
4747
ranlib $(SRCDIR)/$(INSTALL)/lib/libtet.a
4848
cp $(SRCDIR)/tetgen.h $(SRCDIR)/$(INSTALL)/include
@@ -51,23 +51,24 @@ clean-local::
5151
-rm install.done
5252

5353

54-
$(SRCDIR)/tags: $(PACKAGE)
54+
tar-tags.done: $(PACKAGE)
5555
gunzip -c $(PACKAGE)|tar zxf -
5656
# FFCS: needs to patch tetgen because mingw64 has 4-byte longs
57-
touch $(SRCDIR)/tags
57+
touch tar-tags.done
5858
# cd tetgen1.4.2;patch -p1 <../tetgen1.4.2.patch
5959

6060
$(PACKAGE):
6161
../getall -o TetGen -a
6262

6363
clean-local::
64-
-rm -rf tetgen1.?.* FAIT FAIRE
64+
-rm -rf tetgen1.?.* *.done
6565
clean:
66-
-rm $(SRCDIR)/$(INSTALL)/lib/libtet.a
67-
-rm $(SRCDIR)/$(INSTALL)/include/tetgen.h
68-
-rm FAIT *.done
69-
-rm -rf tetgen1.4.?
70-
cxxflags: ../Makefile Makefile
66+
-rm $(SRCDIR)
67+
-rm *.done
68+
-rm -rf tetgen1.?.* cxxflags
69+
cxxflags: ../Makefile Makefile ../getall
70+
../getall -o TetGen -a
71+
-mv -f cxxflags cxxflags.old
7172
grep 'CXX *=' ../Makefile >cxxflags
7273
grep 'CC *=' ../Makefile >>cxxflags
7374
# FFCS - 10/5/12 - bug under Windows if -O3 is specified tetgen never returns. It could also be the case under
@@ -76,4 +77,7 @@ cxxflags: ../Makefile Makefile
7677
grep 'WGET *=' ../Makefile >>cxxflags
7778
grep 'AR *=' ../Makefile >>cxxflags
7879
grep 'ARFLAGS *=' ../Makefile >>cxxflags
80+
../../bin/ff-md5 $(PACKAGE) >> cxxflags
81+
if diff -q cxxflags cxxflags.old ; then echo No Modif skip compile of tetgen ; mv -f cxxflags.old cxxflags; else touch -c tar-tags.done; fi
82+
7983
.PHONY:$(SRCDIR)/$(INSTALL)

AutoGeneratedFile.tar.gz

733 Bytes
Binary file not shown.

CHANGELOG.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--USE THIS TEMPLATE TO COMPLETE THE CHANGELOG-->
22
<!--
3-
## [Version number] - YYYY-MM-DD
3+
## [Version number]
44
### Added
55
-
66
@@ -23,6 +23,30 @@
2323
# Changelog
2424
All notable changes to this project will be documented in this file.
2525

26+
## [4.8]
27+
### Added
28+
- Bilaplacian example using Morley FE with PETSc, see `examples/hpddm/bilaplacian-2d-PETSc.edp`
29+
- Oseen problem preconditioned by PCD, see `examples/hpddm/oseen-2d-PETSc.edp`
30+
- SLEPc polynomial eigenvalue solver `PEPSolve()`
31+
- add trivail example to check periodic boundary condition on meshS , meshL , mesh3
32+
examples/3d/periodic3.edp examples/3dSurf/periodicS.edp
33+
examples/3dCurve/periodicL.edp
34+
35+
### Changed
36+
- PETSc version 3.14.2
37+
- Mmg version 5.5.2
38+
- link of ffglut so change in configure.ac and Makefile.am LIBS -> FF_LIBS and LIBS become empty
39+
to remove default libs
40+
- change number of save plot in ffglut from 10 to 20 for O. Pironneau
41+
42+
### Fixed
43+
- some memory leaks
44+
- the periodic boundary condition have wrong before first a sementic level of MeshS and MeshL case.
45+
the new syntexe is for example:
46+
meshL Tl=segment(10); fespace Vl(Tl,P1,periodic=[[1],[2]]);
47+
meshS Th=square3(10,10,[x*2*pi,y*2*pi]); fespace Vh2(Th,P1,periodic=[[1,x],[3,x],[2,y],[4,y]]);
48+
- fixed '*' keyboard trick, to keep the viewpoint in ffglut or not.
49+
2650
## [4.7-1]
2751
### Changed
2852
- change the language definition to use type as a construction function with named arguments for bem plugin
@@ -69,7 +93,7 @@ All notable changes to this project will be documented in this file.
6993

7094
### Deprecated
7195
- rename `changeNumbering`, `globalNumbering`, `originalNumbering`, `changeOperator`, `destroyRecycling`, and `attachCoarseOperator` to respectively `ChangeNumbering`, `GlobalNumbering`, `OriginalNumbering`, `ChangeOperator`, `DestroyRecycling`, and `AttachCoarseOperator`
72-
- `Nt` the normal vector of the current (wrong on meshL) use `Ns` pr `Tl`
96+
- `Nt` the normal vector of the current (wrong on meshL) use `Ns` or `Tl`
7397
### Removed
7498
- `augmentation` routine from the PETSc plugin
7599
- `MPIF77` variable
@@ -340,7 +364,8 @@ All notable changes to this project will be documented in this file.
340364
### Changed
341365
- The main distribution is now on Github
342366
343-
[Unreleased]: https://github.com/FreeFem/FreeFem-sources/compare/v4.7-1..develop
367+
[Unreleased]: https://github.com/FreeFem/FreeFem-sources/compare/v4.8..develop
368+
[4.8]: https://github.com/FreeFem/FreeFem-sources/compare/v4.7-1..v4.8
344369
[4.7-1]: https://github.com/FreeFem/FreeFem-sources/compare/v4.7...v4.7-1
345370
[4.7]: https://github.com/FreeFem/FreeFem-sources/compare/v4.6...v4.7
346371
[4.6]: https://github.com/FreeFem/FreeFem-sources/compare/v4.5...v4.6

bin/Build-MacOS-Distribution

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#/bin/bash
1+
#/usr/bin/env bash
22

33
DESTDIR=no
44
while [ $# -ne 0 ] ; do

bin/build/download

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# -xe
33

44
############################################################################

bin/ff-md5

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/perl
2+
use Digest::MD5 qw(md5_hex);
3+
$num_args = $#ARGV + 1;
4+
if ($num_args != 1) {
5+
print "Usage: ff-md5 filename\n";
6+
exit 1;
7+
}
8+
$filename = $ARGV[0];
9+
10+
if (-e $filename) {
11+
print "# md5 $filename : ", md5_hex($filename), "\n";
12+
}
13+
else
14+
{
15+
print " ff-md5 Error : $filename do not exist \n";
16+
exit 1;
17+
}

bin/pkgbuild-macos

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
## fist tentavie to create un mac installer
33
# first
44
# create dir for install

bin/regtests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# Runs all regression tests on all compiled FreeFem++ versions
33
# ------------------------------------------------------------
44
MPIRUN=`awk '$1 =="MPIRUN" {print $3}' Makefile`

configure.ac

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# number in debian/changelog.
1010

1111

12-
AC_INIT(FreeFEM,4.7-1,frederic.hecht@sorbonne-universite.fr,FreeFEM)
12+
AC_INIT(FreeFEM,4.8,frederic.hecht@sorbonne-universite.fr,FreeFEM)
1313
dnl : ${CFLAGS=""}
1414
dnl : ${CXXFLAGS=""}
1515
dnl : ${FCFLAGS=""}
@@ -333,7 +333,8 @@ then
333333
AC_MSG_WARN([ get dir of -lg2c FLIBS : $FLIBS ])
334334
;;
335335
# add FH sep 2006 / modif 2009
336-
*gfortran)
336+
# remove FH jan 2021 (Idea of P. Jolivet)
337+
*gfortran-obsolete)
337338
ff_okkk=0
338339
for i in $FLIBS; do
339340
case $i in
@@ -1115,10 +1116,12 @@ if test "$with_petsc_complex" != no; then
11151116
AC_FF_PETSC_WHERELIB(superlu,SUPERLU_LIB,SUPERLU_INCLUDE,$ffconfpetscc)
11161117
AC_FF_PETSC_WHERELIB(scalapack,SCALAPACK_LIB,SCALAPACK_INCLUDE,$ffconfpetscc)
11171118
AC_FF_PETSC_WHERELIB(suitesparse,SUITESPARSE_LIB,SUITESPARSE_INCLUDE,$ffconfpetscc)
1119+
if test -z "$ff_BLASLAPACK_LIB"; then
11181120
AC_FF_PETSC_WHERELIB(blaslapack,BLASLAPACK_LIB,BLASLAPACK_INCLUDE,$ffconfpetscc)
11191121
if test -n "$ff_BLASLAPACK_LIB"; then
11201122
ff_where_lib_blaslapack="`echo $ff_BLASLAPACK_LIB | sed -e 's/@<:@^ @:>@*scalapack@<:@^ @:>@*//g' | sed -e 's/@<:@^ @:>@*blacs@<:@^ @:>@*//g'`"
11211123
fi
1124+
fi
11221125
if test -f $d/libslepc.$ff_suffix_dylib -o -f $d/libslepc.a ; then
11231126
ff_slepccomplex_ok=yes
11241127
ff_SLEPCCOMPLEX_LIB="-Wl,-rpath,$d -L$d -lslepc"
@@ -1548,6 +1551,11 @@ then
15481551
ff_cblas_libs=yes
15491552
fi
15501553

1554+
if test -n "$ff_BLASLAPACK_LIB"; then
1555+
AC_SUBST(BLACSLIBS,"$ff_SCALAPACK_LIB $ff_BLASLAPACK_LIB")
1556+
else
1557+
AC_SUBST(BLACSLIBS,$ff_blas_libs)
1558+
fi
15511559
AC_SUBST(BLASLIBS,$ff_blas_libs)
15521560
AC_SUBST(BLASINC,$ff_blas_inc)
15531561

@@ -2292,17 +2300,17 @@ AX_LIB_HDF5()
22922300
if test "$with_hdf5" = "yes"; then
22932301
ff_save_cppflags="$CPPFLAGS";
22942302
CPPFLAGS="$CPPFLAGS $HDF5_CPPFLAGS"
2295-
AC_CHECK_HEADER([H5Cpp.h],[],[with_hdf=no])
2303+
AC_CHECK_HEADER([H5Cpp.h],[],[with_hdf5=no])
22962304
CPPFLAGS="$ff_save_cppflags"
2297-
#if test "$with_hdf5" = "yes"; then
2305+
if test "$with_hdf5" = "yes"; then
22982306
AC_FF_ADDWHERELIB(hdf5,$HDF5_LDFLAGS $HDF5_LIBS,$HDF5_CPPFLAGS)
22992307
LIBS="$LIBS $HDF5_LDFLAGS $HDF5_LIBS"
23002308
# hack, if enable_download=no
23012309
AC_SUBST([TOOL_COMPILE_iohdf5],ifelse(,,iohdf5,))
23022310
AC_SUBST([TOOL_DYLIB_iohdf5],iohdf5.$DYLIB_SUFFIX)
23032311
ifelse(nodownload,,[ff_download_lib="iohdf5 $ff_download_lib"])
23042312
ifelse(nodownload,,[enable_iohdf5_download=yes])
2305-
#fi
2313+
fi
23062314
else
23072315
enable_iohdf5=no
23082316
fi
@@ -2332,6 +2340,8 @@ fi
23322340
TOOL_DISABLE(NewSolver,"NewSolver.$DYLIB_SUFFIX",,nodownload)
23332341
TOOL_DISABLE(mkl,"PARDISO.$DYLIB_SUFFIX",,nodownload)
23342342

2343+
AC_SUBST([FF_LIBS],$LIBS)
2344+
LIBS=
23352345
# echo "debug cxxx11: $ff_cxx11 mpi: $ff_mpi petsc: $ff_petsc_ok "
23362346
test "$enable_download" != "yes" -a "$enable_download_hpddm" != "yes" -a \( "$enable_hpddm" != "yes" -o "$ff_hpddm_ok" != "yes" \) && enable_hpddm=no
23372347
test "$enable_download" != "yes" -a "$enable_htool" != yes && enable_htool=no
@@ -2428,6 +2438,7 @@ AM_CONDITIONAL([SUPERLU], [test "$ff_superlu_ok" = yes])
24282438
AM_CONDITIONAL([TETGEN], [test "$ff_tetgen_" = yes])
24292439
AM_CONDITIONAL([UMFPACK], [test "$ff_umfpack_" = yes])
24302440

2441+
24312442
##
24322443
# All makefiles
24332444
AC_OUTPUT(

etc/AppImage/build-appimage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
#
33
# This script configures, compiles and package FreeFem into AppImage
44
#

etc/AppImage/freefem-apprun.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
#
33
# The purpose of this custom AppRun script is
44
# to allow symlinking the AppImage and invoking

etc/AppImage/rebuild-and-run-appimage-builder.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
#
33
# You need to prepare this docker container if you want to buitd AppImage locally.
44
# Normally it should be built with TravisCI (see .travis.yml)

etc/config/FreeFem++.scrpt-txt.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ on freefem(edpfile)
4848
if not (exists window 1) then reopen
4949
activate
5050
try
51-
do shell script "/bin/bash -c 'export PATH=\"$PATH:$(cat /etc/paths.d/FreeFem++)\";cd \"" & edpdir & "\";FreeFem++-CoCoa \"" & edppath & "\"'"
51+
do shell script "/usr/bin/env bash -c 'export PATH=\"$PATH:$(cat /etc/paths.d/FreeFem++)\";cd \"" & edpdir & "\";FreeFem++-CoCoa \"" & edppath & "\"'"
5252
end try
5353
end tell
5454
end freefem

etc/config/m4/acoptim.m4

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,10 @@ CXXFLAGS="`echo $CXXFLAGS | sed 's/-O2//g'`"
175175
ff_fast="-O3 $ff_fast";;
176176
x86_64*)
177177
ff_fast="-O3 $ff_fast";;
178+
arm64*)
179+
ff_fast="-O3 $ff_fast";;
178180
*)
179-
AC_MSG_ERROR(cannot determine apple cpu type )
181+
AC_MSG_WARN(cannot determine apple cpu type )
180182
ff_fast="-O3";;
181183
esac
182184

0 commit comments

Comments
 (0)