Skip to content

Instantly share code, notes, and snippets.

View MatthiasJReisinger's full-sized avatar

Matthias Reisinger MatthiasJReisinger

View GitHub Profile
@MatthiasJReisinger
MatthiasJReisinger / tmux.conf
Last active January 13, 2018 20:03
tmux.conf
# open new windows in the current path
bind c new-window -c "#{pane_current_path}"
# reload config file
bind r source-file ~/.tmux.conf
# shorten command delay
set -sg escape-time 1
# don't rename windows automatically
# Based on the following instructions:
# https://blogs.s-osg.org/an-introduction-to-accelerating-your-build-with-clang/
# https://blogs.s-osg.org/a-conclusion-to-accelerating-your-build-with-clang/
# General cmake instructions for LLVM:
# https://llvm.org/docs/CMake.html
cmake -G Ninja -DLLVM_TARGETS_TO_BUILD="X86" -DCMAKE_BUILD_TYPE="Debug" -DBUILD_SHARED_LIBS=ON -DLLVM_USE_LINKER=gold -DLLVM_OPTIMIZED_TABLEGEN=ON -DCMAKE_C_COMPILER="/usr/lib/ccache/clang" -DCMAKE_CXX_COMPILER="/usr/lib/ccache/clang++" -DCMAKE_ASM_COMPILER="/usr/bin/llvm-as-5.0" ~/respo/llvm
description "Bitcoin Core Daemon"
start on runlevel [2345]
stop on starting rc RUNLEVEL=[016]
env BITCOIND_BIN="/usr/bin/bitcoind"
env BITCOIND_USER="bitcoin"
env BITCOIND_GROUP="bitcoin"
env BITCOIND_PIDDIR="/var/run/bitcoind"
# upstart can't handle variables constructed with other variables
@MatthiasJReisinger
MatthiasJReisinger / polly4julia.patch
Created March 24, 2016 12:53
Patch that experimentally integrates Polly into Julia's execution engine.
diff --git a/Make.inc b/Make.inc
index 6d8ca15..8f93705 100644
--- a/Make.inc
+++ b/Make.inc
@@ -19,7 +19,8 @@ endif
OPENBLAS_USE_THREAD:=1
# Use libraries available on the system instead of building them
-USE_SYSTEM_LLVM:=0
+USE_SYSTEM_LLVM:=1