Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
specific case for ubuntu 16.04
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Sep 2, 2020
1 parent c4ef0cf commit 1e9bfa8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.py
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
import sys
import os
import platform
import warnings
from setuptools import setup, Extension
from setuptools import find_packages
Expand Down Expand Up @@ -220,6 +221,8 @@ def __str__(self):
extra_compile_args_bench = extra_compile_args_numbers.copy()
extra_link_args = ['-lgomp']
define_macros = [('USE_OPENMP', None)]
if platform.linux_distribution()[:2] == ('Ubuntu', '16.04'):
extra_compile_args_numbers.append('-std=c++11')

# extensions

Expand Down

0 comments on commit 1e9bfa8

Please sign in to comment.