szaghi / FLAP

Fortran command Line Arguments Parser for poor people
150 stars 34 forks source link

Missing CMakeLists.txt in src/third_party/PENF (missing PENF dependency?) #80

Closed apthorpe closed 2 years ago

apthorpe commented 6 years ago

Hi,

Just tried a fresh build of FLAP using CMake with GCC 5.2.0 and ran into a problem:

[ 31%] Performing configure step for 'PENF'
cd /home/apthorpe/Documents/Projects/FLotT/FLAP/build/third_party/PENF && cmake -DBUILD_SHARED_LIBS= -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_Fortran_COMPILER=/home/apthorpe/bin/gcc/5.2.0/bin/gfortran /home/apthorpe/Documents/Projects/FLotT/FLAP/FLAP-master/src/third_party/PENF
CMake Error: The source directory "/home/apthorpe/Documents/Projects/FLotT/FLAP/FLAP-master/src/third_party/PENF" does not appear to contain CMakeLists.txt.

I checked in the src tree and all the directories under src/third_party are empty. I dug a little deeper and found PENF is your environment variable library which looks like it's expected as an external dependency. My guess is the documentation for dependencies and/or building with CMake need to be updated.

I understand that CMake support is handled by @victorsndvg and I also understand this is a really busy time of year for you. I found this issue while preparing a blog entry on using FLAP in practice; it's not time critical for me so no pressure on sorting this out.

FWIW, the main reason I'm looking at FLAP is that I'm investigating what a (hypothetical) modern Fortran Standard Library should contain by looking at other language's libraries (C, Python, Julia, R, Ada, etc.) and open-source Fortran libraries (Arjen Markus' FLIBS, your libraries) while noting my own needs as a developer. My longer term project is to see if there's community support for creating a comprehensive, platform- and license-neutral 'de facto' standard library for modern Fortran.

victorsndvg commented 6 years ago

src/third_party directory contains submodules. To obtain the sources you must recursively clone the repo:

git clone --recursive ...

If you have already cloned the repo, you can allso follow the instructions here:

https://github.com/szaghi/FLAP#download

Once you have the source code in this directory, try again with the CMake compilation process and let me know if lit works properly!

Your work looks very interesting, I would like to be aware of it!

szaghi commented 6 years ago

Dear @apthorpe

I am sorry for my delay, but this period is very busy for me, my bad.

Please, follow the step suggested by @victorsndvg , he is my hero :smile:

I am also very interested into your work: soon (or not, maybe in February or March) I'll come back to Fortran...

Cheers

zbeekman commented 6 years ago

@apthorpe I like the enthusiasm RE Fortran standard library! A bunch of people have expressed interest in this over the years, and I would love to see it happen. We have an off again, on again gitter.im channel where we discuss stuff like this sometimes. I'll add you to the group. There is also the https://github.com/leonfoks/coretran library which is a cool looking nascent project. Here is the gitter.im link: https://gitter.im/Fortran-FOSS-Programmers/General-Discussion