- Fetch
numfocus-round2
for lfortran branch from here. Do a clean build of lfortran after checking out tonumfocus-round2
. - Fetch
master-lfortran
for stdlib branch from here. Check out tomaster-lfortran
. - Run,
FFLAGS=“--non-symtab-only” FC=lfortran cmake .
insidestdlib
. - Run,
make
. You should be able to see the following logs,
[ 48%] Building Fortran object src/CMakeFiles/fortran_stdlib.dir/stdlib_system.F90.o
[ 49%] Linking Fortran static library libfortran_stdlib.a
warning: /Library/Developer/CommandLineTools/usr/bin/ranlib: archive library: libfortran_stdlib.a the table of contents is empty (no object file members in the library define global symbols)
[ 49%] Built target fortran_stdlib
Scanning dependencies of target test_always_skip
[ 50%] Building Fortran object src/tests/CMakeFiles/test_always_skip.dir/test_always_skip.f90.o
semantic error: Module 'stdlib_error' not declared in the current source and the modfile was not found
--> /Users/czgdp1807/lfortran_project/stdlib/src/tests/test_always_skip.f90:3:1
|
3 | use stdlib_error, only: check
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Now, fetch
stdlib_non_symtab
for lfortran from here. Do a clean build after checking out tostdlib_non_symtab
. - Run,
FC=lfortran cmake .
and thenmake
instdlib
. Though note that forstdlib
you don’t have to change in branches. You should be able to see the following logs,
Note: if any of the above error or warning messages are not clear or are lacking
context please report it to us (we consider that a bug that needs to be fixed).
[ 24%] Building Fortran object src/CMakeFiles/fortran_stdlib.dir/stdlib_bitsets.f90.o
[ 25%] Building Fortran object src/CMakeFiles/fortran_stdlib.dir/stdlib_bitsets_64.f90.o
Please let me know if you face any problem in the above steps. Thanks.