april 2018
The main difference with the previous CVS setup or mercurial is that every working
copy of FreeFem++ contains a complete git database of all source files
(in a subdirectory called .git
).
git clone https://github.com/FreeFem/FreeFem-sources ff-git
Change to your own name:
name = Frederic Hecht
email = [email protected]
[push]
default = simple
All the commands below should be run from a directory of the current working copy.
git rm --cached filename
git commit -a -m "description of changes"
git status
** Pulling changes from another (readable) repository
git push origin master
Change master to whatever branch you want to push your changes to.
git remote add origin <server>
git checkout -b feature_x
git checkout master
git branch -d feature_x
git push origin <branch>
Developers that are not part of the official FreeFem++ team can fork the FreeFem-sources repository on their GitHub account, make modifications locally and submit a pull request to the FreeFem-sources repository.
First to restore build file:
- use
automake
(>1.13)autoreconf -i
- or extract build file using
tar zxvf AutoGeneratedFile.tar.gz
Build the Makefile:
./configure --enable-download
Optionnaly, compile PETSc/SLEPc if needed (more than 30 min):
make petsc-slepc [SUDO=sudo]
./reconfigure```
Build:
```make```
Check (warning some tests fail):
```make check```
Install:```sudo make install```
or
```make install```