aboutsummaryrefslogtreecommitdiff
path: root/reproduce/src/make/dependencies-python.mk
diff options
context:
space:
mode:
authorRaul Infante-Sainz <infantesainz@gmail.com>2019-03-29 10:49:31 +0000
committerRaul Infante-Sainz <infantesainz@gmail.com>2019-03-29 10:49:31 +0000
commitd26372bb074b1e4ac5ff758d7716129975fe4963 (patch)
tree333eb3e460e3d8872feb587ac9893eab22074288 /reproduce/src/make/dependencies-python.mk
parent12648438cf9f75738cef045fd02f4093eab7990d (diff)
Disabling ATLAS shared libraries on Mac OS
The Makefile that build the shared libraries comes from Arch Linux so it does not work easily on Mac. But the full ATLAS build goes successfully for static libraries. For now we are disabling shared libraries on Mac. Python was built explicity with `clang' on Mac.
Diffstat (limited to 'reproduce/src/make/dependencies-python.mk')
-rw-r--r--reproduce/src/make/dependencies-python.mk14
1 files changed, 5 insertions, 9 deletions
diff --git a/reproduce/src/make/dependencies-python.mk b/reproduce/src/make/dependencies-python.mk
index fe82175..c7f861b 100644
--- a/reproduce/src/make/dependencies-python.mk
+++ b/reproduce/src/make/dependencies-python.mk
@@ -293,18 +293,14 @@ $(ibdir)/python3: $(tdir)/python-$(python-version).tar.gz \
$(ilidir)/libffi
# On Mac systems, the build complains about `clang' specific
# features, so we can't use our own GCC build here.
-# if [ x$(on_mac_os) = xyes ]; then \
-# export CC=clang; \
-# export CXX=clang++; \
-# fi; \
-
+ if [ x$(on_mac_os) = xyes ]; then \
+ export CC=clang; \
+ export CXX=clang++; \
+ fi; \
$(call gbuild, $<, Python-$(python-version),, \
- --enable-optimizations \
--without-ensurepip \
--with-system-ffi \
- --enable-shared \
- --with-threads \
- --with-lto ) \
+ --enable-shared) \
&& v=$$(echo $(python-version) | awk 'BEGIN{FS="."} \
{printf "%d.%d\n", $$1, $$2}') \
&& ln -s $(ildir)/python$$v $(ildir)/python \