Skip to content

Instantly share code, notes, and snippets.

View pitrou's full-sized avatar

Antoine Pitrou pitrou

View GitHub Profile
import gc
import sys
import time
import itertools
import weakref
import concurrent.futures
import tracemalloc
import ctypes
import itertools
import random
def mytee1(xs, n):
last = [None, None]
def gen(it, mylast):
nonlocal last
import gc
import pprint
import types
import weakref
import asyncio
from asyncio import tasks
from tornado import gen
from tornado.ioloop import IOLoop
import threading
from tornado import gen
from tornado.concurrent import Future
from tornado.ioloop import IOLoop
fut = Future()
#print("in main:", fut, id(getattr(fut, '_loop', None)))
import struct
try:
from time import perf_counter as clock
except ImportError:
from time import time as clock
import asyncio
#import uvloop
#asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
import struct
try:
from time import perf_counter as clock
except ImportError:
from time import time as clock
from tornado.tcpserver import TCPServer
from tornado.tcpclient import TCPClient
from tornado.ioloop import IOLoop
from tornado import gen
$ readelf -V /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19 | grep -i CXXABI
084: 1f (GLIBC_2.2.5) 1f (GLIBC_2.2.5) 0 (*local*) 16 (CXXABI_1.3)
0a0: 2 (GLIBCXX_3.4) 2 (GLIBCXX_3.4) 19 (CXXABI_1.3.3) 2 (GLIBCXX_3.4)
0b8: 11 (GLIBCXX_3.4.15) 2 (GLIBCXX_3.4) 2 (GLIBCXX_3.4) 16 (CXXABI_1.3)
0d8: 7 (GLIBCXX_3.4.5) 2 (GLIBCXX_3.4) 16 (CXXABI_1.3) 2 (GLIBCXX_3.4)
0e0: 2 (GLIBCXX_3.4) 16 (CXXABI_1.3) 2 (GLIBCXX_3.4) 2 (GLIBCXX_3.4)
120: 2 (GLIBCXX_3.4) 2 (GLIBCXX_3.4) 13 (GLIBCXX_3.4.17) 19 (CXXABI_1.3.3)
12c: 16 (CXXABI_1.3) c (GLIBCXX_3.4.10) 2 (GLIBCXX_3.4) 2 (GLIBCXX_3.4)
160: 16 (CXXABI_1.3) 2 (GLIBCXX_3.4) 15 (GLIBCXX_3.4.19) 2 (GLIBCXX_3.4)
164: 2 (GLIBCXX_3.4) 11 (GLIBCXX_3.4.15) 16 (CXXABI_1.3) 2 (GLIBCXX_3.4)
(view as text)
conda build -q conda-recipes/llvmdev -c numba --python=2.7 --no-test
in dir /Users/buildbot/hpa-ci/buildbot-slave/llvmdev-osx/build (timeout 1200 secs)
watching logfiles {}
argv: ['conda', 'build', '-q', 'conda-recipes/llvmdev', '-c', 'numba', '--python=2.7', '--no-test']
environment:
BUILDMASTER=numba-linux64-gpu
BUILDMASTER_PORT=9989
HOME=/Users/buildbot
2016-07-18 19:10:33+0200 [_GenericHTTPChannelProtocol,0,127.0.0.1] Unhandled Error
Traceback (most recent call last):
File "/home/antoine/miniconda3/envs/bb-numba/lib/python2.7/site-packages/buildbot/status/web/base.py", line 391, in view
return defer.maybeDeferred(lambda: self.content(request, ctx))
File "/home/antoine/miniconda3/envs/bb-numba/lib/python2.7/site-packages/twisted/internet/defer.py", line 150, in maybeDeferred
result = f(*args, **kw)
File "/home/antoine/miniconda3/envs/bb-numba/lib/python2.7/site-packages/buildbot/status/web/base.py", line 391, in <lambda>
return defer.maybeDeferred(lambda: self.content(request, ctx))
File "/home/antoine/miniconda3/envs/bb-numba/lib/python2.7/site-packages/twisted/internet/defer.py", line 1274, in unwindGenerator
return _inlineCallbacks(None, gen, Deferred())
import numba as nb
import numpy as np
from time import process_time as clock
class Timer:
def __init__(self,title=None):
self.title=title
def __enter__(self):