Skip to content

Instantly share code, notes, and snippets.

@zdevito
zdevito / spec.json
Created December 4, 2020 00:18
Python Inference vs JIT
{
"config": {"view": {"continuousWidth": 400, "continuousHeight": 300}},
"vconcat": [
{
"hconcat": [
{
"mark": "point",
"encoding": {
"color": {"type": "nominal", "field": "jit"},
"x": {"type": "quantitative", "field": "n_threads"},
jit.test_async.TestAsync.test_async_grad_guard_no_grad
NVRM: Your system is not currently configured to drive a VGA console
nvidia irq 50 for MSI/MSI-X
You need to have a display plugged in when booting the computer.
diff --git a/Makefile b/Makefile
index 7b200d7..4ecd833 100644
--- a/Makefile
+++ b/Makefile
@@ -158,7 +158,7 @@ endif
$(LUAJIT_LIB): build/$(LUAJIT_TAR)
(cd build; tar -xf $(LUAJIT_TAR))
- (cd $(LUAJIT_DIR); make CC=$(CC) STATIC_CC="$(CC) -fPIC")
+ (cd $(LUAJIT_DIR); make CC=$(CC) STATIC_CC="$(CC) -fPIC" Q="" XCFLAGS="-DLUAJIT_ENABLE_LUA52COMPAT")
diff --git a/Makefile b/Makefile
index f909c02..47d8fff 100644
--- a/Makefile
+++ b/Makefile
@@ -1,22 +1,35 @@
# if the defaults for LLVM_CONFIG are not right for your installation
# create a Makefile.inc file and point LLVM_CONFIG at the llvm-config binary for your llvm distribution
-# you may also need to reassign the CXX and CC compilers if they are not valid
+# you may also need to reassign the TERRA_CXX and TERRA_CC compilers if they are not valid