File tree Expand file tree Collapse file tree 3 files changed +7
-12
lines changed
Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ FoBiS.py install szaghi/VecFor -mode static-gnu --prefix /path/to/prefix
8484``` ini
8585[dependencies]
8686deps_dir = src/third_party
87- PENF = https://github.com/szaghi/VecFor
87+ VecFor = https://github.com/szaghi/VecFor
8888```
8989
9090``` bash
Original file line number Diff line number Diff line change @@ -18,17 +18,12 @@ VecFor is developed on GNU/Linux. Windows should work out of the box but is not
1818
1919## Download
2020
21- VecFor uses ** git submodules ** for the [ PENF] ( https://github.com/szaghi/PENF ) dependency (portable numeric kind parameters). Clone recursively :
21+ Clone the repository and fetch the [ PENF] ( https://github.com/szaghi/PENF ) dependency automatically with FoBiS.py :
2222
2323``` bash
24- git clone https://github.com/szaghi/VecFor --recursive
24+ git clone https://github.com/szaghi/VecFor
2525cd VecFor
26- ```
27-
28- If you already have a non-recursive clone:
29-
30- ``` bash
31- git submodule update --init --recursive
26+ FoBiS.py fetch # downloads PENF into src/third_party/
3227```
3328
3429### Minimal manual download
@@ -51,7 +46,7 @@ A minimal installation requires only `src/lib/vecfor.F90` (and PENF sources). Th
5146│ │ ├── simple.f90 # Basic usage example
5247│ │ └── kinds.f90 # Operator coverage test (all numeric kinds)
5348│ └── third_party/
54- │ └── PENF/ # Kind parameter definitions (git submodule )
49+ │ └── PENF/ # Kind parameter definitions (fetched by FoBiS.py )
5550└── scripts/
5651 └── run_tests.sh # Test runner
5752```
Original file line number Diff line number Diff line change @@ -46,9 +46,9 @@ function projectdownload () {
4646 fi
4747
4848 if [ " $DOWNLOAD " == " git" ]; then
49- git clone --recursive $GITHUB
49+ git clone $GITHUB
5050 cd $PROJECT
51- git submodule update --init --recursive
51+ FoBiS.py fetch
5252 cd -
5353 elif [ " $DOWNLOAD " == " wget" ]; then
5454 wget $( curl -s https://api.github.com/repos/$USERNAME /$PROJECT /releases/latest | grep ' browser_' | cut -d\" -f4 | grep -i tar.gz)
You can’t perform that action at this time.
0 commit comments