Skip to content

Instantly share code, notes, and snippets.

View Akaricchi's full-sized avatar

Andrei Alexeyev Akaricchi

View GitHub Profile
From c9c7670b733627af13f5dbdcaf6c3b3723e2eb3a Mon Sep 17 00:00:00 2001
From: "Andrei \"Akari\" Alexeyev" <[email protected]>
Date: Sun, 23 Jul 2017 13:29:06 +0300
Subject: [PATCH] Arch Linux build fix
Pick up the correct LuaJIT headers, instead of the default Lua 5.3
headers.
---
CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
Section "Screen"
Identifier "Screen0"
Option "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
EndSection
../../../git/taisei/src/eventloop/executor_emscripten.c:86:3: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
});
^
/data/webshit/emsdk/emscripten/incoming/system/include/emscripten/em_asm.h:176:9: note: macro 'EM_ASM' defined here
#define EM_ASM(code, ...) ((void)emscripten_asm_const_int(#code _EM_ASM_PREP_ARGS(__VA_ARGS__)))
^
../../../git/taisei/src/eventloop/executor_emscripten.c:78:2: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
EM_ASM({
^
/data/webshit/emsdk/emscripten/incoming/system/include/emscripten/em_asm.h:176:65: note: expanded from macro 'EM_ASM'
@Akaricchi
Akaricchi / llvm-mingw-i686.ini
Last active April 20, 2021 15:10
llvm-mingw meson crossfiles
[constants]
toolchain = '/opt/llvm-mingw'
arch = 'i686-w64-mingw32'
cpufamily = 'x86'
march = 'pentium4'
mtune = 'k8'
bin = toolchain/'bin'
exeprefix = bin/arch+'-'
cc = exeprefix+'clang'
@Akaricchi
Akaricchi / taisei-record-replay.py
Created May 23, 2024 16:03
Taisei replay video recording script
#!/usr/bin/env python3
import subprocess
import tempfile
import argparse
import os
import math
from pathlib import Path
FPS = 60