aboutsummaryrefslogtreecommitdiff
path: root/reproduce/software/make/high-level.mk
diff options
context:
space:
mode:
authorRaul Infante-Sainz <infantesainz@gmail.com>2019-05-24 16:55:00 +0100
committerRaul Infante-Sainz <infantesainz@gmail.com>2019-05-24 16:55:00 +0100
commit01df9c86669b68d0d9c874664039189e2dae4534 (patch)
tree2775e1082d2fdea005f2bb8c017a9dfc22df1a6a /reproduce/software/make/high-level.mk
parent268dfc0368fc21c8a4da695cf23e94c7cf2472c1 (diff)
Added LibYAML library into the project
With this commit, LibYAML library has been added. This library is a prerequisite of the Python package PyYAML, which is widely used in the Python community when configuration scripts are needed.
Diffstat (limited to 'reproduce/software/make/high-level.mk')
-rw-r--r--reproduce/software/make/high-level.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/reproduce/software/make/high-level.mk b/reproduce/software/make/high-level.mk
index cdaae5e..fe6efd0 100644
--- a/reproduce/software/make/high-level.mk
+++ b/reproduce/software/make/high-level.mk
@@ -135,6 +135,7 @@ tarballs = $(foreach t, astrometry.net-$(astrometrynet-version).tar.gz \
swig-$(swig-version).tar.gz \
tiff-$(libtiff-version).tar.gz \
wcslib-$(wcslib-version).tar.bz2 \
+ yaml-$(yaml-version).tar.gz \
, $(tdir)/$(t) )
$(tarballs): $(tdir)/%: | $(lockdir)
if [ -f $(DEPENDENCIES-DIR)/$* ]; then
@@ -203,6 +204,7 @@ $(tarballs): $(tdir)/%: | $(lockdir)
elif [ $$n = swig ]; then w=https://sourceforge.net/projects/swig/files/swig/swig-$(swig-version)
elif [ $$n = tiff ]; then w=https://download.osgeo.org/libtiff
elif [ $$n = wcslib ]; then w=ftp://ftp.atnf.csiro.au/pub/software/wcslib
+ elif [ $$n = yaml ]; then w=pyyaml.org/download/libyaml
else
echo; echo; echo;
echo "'$$n' not recognized as a dependency name to download."
@@ -430,6 +432,9 @@ $(ibidir)/openblas: $(tdir)/openblas-$(openblas-version).tar.gz
&& rm -rf OpenBLAS-$(openblas-version) \
&& echo "OpenBLAS $(openblas-version)" > $@
+$(ibidir)/yaml: $(tdir)/yaml-$(yaml-version).tar.gz
+ $(call gbuild, $<, yaml-$(yaml-version), static) \
+ && echo "LibYAML $(yaml-version)" > $@