Skip to content
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

[RFC]: automated/make recipe for generation of manifest files for C implementation of a package #2154

Open
3 tasks done
USERSATOSHI opened this issue Apr 11, 2024 · 0 comments

Comments

@USERSATOSHI
Copy link
Contributor

Description

This RFC proposes a make recipe genmanifest* that can be used to generate include.gypi , binding.gyp and manifest.json

  • *: name can be subjected to change in future

Right now, the creation of these files has been manual, that is, for every C implementation for a package such as @stdlib/math/base/special/fast/abs we need to create these files manually, copying the includes and binding gyp files from existing related packages and create manifest.json depending on the dependencies used by the package

automating this can help in easing these tasks and also lessen the burden on the contributor as well as new comers.

A working prototype for this would be :

image

this prototype extracts dependencies used in C files from src, benchmark and examples folder and generate the related manifest.json , include.gypi and binding.gyp for that package

this can be further expanded to support blas as blas manifest.json also follows a similiar pattern based on the related file name like ccopy.f is being used in mac and there are 5 os based confs

Related Issues

n/a

Questions

No.

Other

No.

Checklist

  • I have read and understood the Code of Conduct.
  • Searched for existing issues and pull requests.
  • The issue name begins with RFC:.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant