From 5e681433e08e34c5a0dc2dc9aad358d85e1bb96b Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Fri, 29 Jan 2016 18:19:08 -0600
Subject: [PATCH] Turn SIO off by default (trouble with old linkers), but do
 run a test build with it on

---
 .gitlab-ci.yml | 10 ++++++++++
 setup.py       |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e9a842a..3f215a0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,6 +16,16 @@ Python 3.4:
   - python3.4
   except:
   - tags
+Python 3.4 small integer opt:
+  script:
+  - export PY_EXE=python3.4
+  - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project.sh
+  - ./configure.py --use-imath-sio
+  - ". ./build-and-test-py-project.sh"
+  tags:
+  - python3.4
+  except:
+  - tags
 Python 2.6:
   script:
   - export PY_EXE=python2.6
diff --git a/setup.py b/setup.py
index 730baf1..b67f0c7 100644
--- a/setup.py
+++ b/setup.py
@@ -34,7 +34,7 @@ def get_config_schema():
         Switch("USE_SHIPPED_ISL", True, "Use included copy of isl"),
         Switch("USE_SHIPPED_IMATH", True, "Use included copy of imath in isl"),
         Switch("USE_BARVINOK", False, "Include wrapper for Barvinok"),
-        Switch("USE_IMATH_SIO", True, "When using imath, use small-integer "
+        Switch("USE_IMATH_SIO", False, "When using imath, use small-integer "
             "optimization"),
 
         IncludeDir("GMP", []),
-- 
GitLab