-
Notifications
You must be signed in to change notification settings - Fork 20
[idea] Introduce stdlib-fpm (forlab) as dev-dependencies in fftpack #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
An alternative for getting If you are interested in trying it out for fftpack let me know. The main issue is of course supporting a Makefile, therefore we had to redistribute it in stdlib, which is not the best way of handling dependencies. |
This comment was marked as outdated.
This comment was marked as outdated.
My preference would be for this repository to have no dependencies. I would be willing to make an exception for stdlib, but only one it has stabilized a little bit more and there's an official release number tag that we can point to as the dependency. |
Is it possible for the |
@zoziha I know @awvwgk had to develop a test framework for stdlib recently. I agree with @hsnyder that it would be nice to keep the dependencies low. I believe Cargo allows to specify dependencies just for tests, that are not used if only the library (without tests) is used. So that might be the way to go. CC @milancurcic, @LKedward, @everythingfunctional for more feedback. |
fpm also allows to specify dependencies just for tests, so that users of the library will not have to download and compile the things used only for testing. As for an available Fortran test framework, I have written one (vegetables) and I'm currently in the process of trying to greatly improve the documentation and write a tutorial. I believe @awvwgk also has a standalone version of the framework he developed for stdlib. |
In the process of fftpack for example and testing, routines such as
check
,is_close
, anddisp
are needed (for convenience). I personally think that it is possible to introducestdlib-fpm
andforlab
dependencies only asdev-dependencies
.stdlib-fpm
I have submitted a PR (see fortran-lang/stdlib#508) in stdlib to support the
stdlib-fpm
branch throughgithub-ci
, and now I useLKedward/stdlib-fpm
, I think I can switch tofortran-lang/stdlib-fpm
in the future.Since
fortran-lang/stdlib-fpm
is not yet supported, I introducedforlab
. Whenstdlib-fpm
is implemented, I will removeforlab
.hilbert transform
I implemented the hilbert transform function in my branch (see add_hilbert), which introduced stdlib-fpm and forlab as dev-dependencies.
Using the dev-dependencies feature of
fpm
means that it is not convenient for us to support the moremake test
of the make tool in the future.The text was updated successfully, but these errors were encountered: