Improve ability to build custom supplements
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- c, cmake
- Área
- build-system, devtools
Línea de trabajo
Comienza con la plantilla CMake mínima del repositorio y la configuración principal de CMake de GMT, especialmente EXTRA_BUILD_DIRS y EXTRA_MODULES_SUPPL. Comprueba la compilación invocada mediante «mkdir build; cd build; cmake ..» y cómo se utilizan src, gmt.h y gmt_dev.h. Se considera terminado cuando la biblioteca compartida personalizada se compila por separado de supplements.so sin el error de stdio.h indicado.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
This repo has been neglected for some time, and now I have trouble making it work. The reason for this repo was to show other developers how to create your own mymodules.so shared libraries that will work with GMT. The idea was that these modules would only require the GMT API (gmt.h) and not all the underlying lower-level library functions (gmt_dev.h) that our own supplements rely on. This repo has a minimal CMake template and setup, but over the last few years we have made enough changes to the GMT cmake setup that there are problems in this repo. For instance, this repo until recently lived in subversion, so there is all the issues with svn versioning. When I tried to build the custom shared library today (mkdir build; cd build; cmake ..) I got errors about not finding stdio.h, so something very fundamental is missing.
Separately from that repo, I think it would be great if we could extend the support we have in the main GMT CMake setup where we have EXTRA_BUILD_DIRS and EXTRA_MODULES_SUPPL. What I have in mind is the ability for developers to add a separate supplement dir to this mix, but have it build as a separate *.so file and not become part of supplements.so. This would simplify the whole build for such developers since they can simply rely on the main GMT cmake setup. How could we do this? Allow a symbolic link called custom to be placed in src (and ignored by .gitignore) and let our Cmake determine if there is such a thing then build custom.so?
- Lenguaje dominante
- PostScript
- Estrellas
- 2
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Issues similares
-
PacReq: mangowcAbiertopackage request
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
pacstall/pacstall-programs#9475 ·
Los mantenedores suelen responder en 2 días
-
Add `pdfcpu` to the pantryAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
[dsh-plugin.org | dsh-plugin-hub] plugin distribution incomplete: yjh051108/dsh-routing-suiteAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 71/100
yjh051108/dsh-routing-suite#227 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
JoviDeCroock/pracht#432 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
munich-quantum-toolkit/workflows#492 · 1 comentario ·
Los mantenedores suelen responder en 1 día