Skip to content

Instantly share code, notes, and snippets.

View jamescasbon's full-sized avatar

James Casbon jamescasbon

View GitHub Profile
(xdress)~/S/xdress git:clang ❯❯❯ python setup.py build ⬆ ✱
XXXXXXX XXXXXXXDDDDDDDDDDDDD
X:::::X X:::::XD::::::::::::DDD
X:::::X X:::::XD:::::::::::::::DD
X::::::X X::::::XDDD:::::DDDDD:::::D
XXX:::::X X:::::XXX D:::::D D:::::D
X:::::X X:::::X D:::::D D:::::D
X:::::X:::::X D:::::D D:::::D
X:::::::::X D:::::D D:::::D
@jamescasbon
jamescasbon / gist:8707177
Last active August 29, 2015 13:55
difference between xdress clang and clang++
Compiling with clang++ with the same options as cindex uses
❯ clang++ -v -std=c++11 -I. -c build/sodium_sodium.cpp-sodium_sodium.h.cpp
clang version 3.4 (tags/RELEASE_34/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.8.2
Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-unknown-linux-gnu/4.8.2
Found candidate GCC installation: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2
Found candidate GCC installation: /usr/lib64/gcc/x86_64-unknown-linux-gnu/4.8.2
@jamescasbon
jamescasbon / attr_np_mp.py
Created March 31, 2019 11:20
Evil monkeypatch for numpy cmp with attrs
import attr
import numpy as np
import attr._make
original_make_cmp = attr._make._make_cmp