This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ROOT_DIR = $(PWD) | |
THIRD_PARTY_DIR = $(ROOT_DIR)/third_party | |
INSTALL_DIR = $(ROOT_DIR)/install | |
# TODO: this be in its own git repository | |
llvm-configure: | |
cmake -S $(ROOT_DIR)/../llvm-project/llvm \ | |
-B $(ROOT_DIR)/build/llvm \ | |
-G Ninja \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set(CMAKE_EXPORT_COMPILE_COMMANDS ON) | |
add_compile_options( | |
-Weverything | |
) | |
file(GLOB_RECURSE ALL_SOURCE_FILES *.cpp *.c *.hpp *.h) | |
add_custom_target( | |
clang_tidy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt | |
index 39f4f6cf5..b9cb91a27 100644 | |
--- a/loader/CMakeLists.txt | |
+++ b/loader/CMakeLists.txt | |
@@ -326,7 +326,6 @@ if(WIN32) | |
set(LOADER_UNKNOWN_CHAIN_LIBRARY $<$<TARGET_EXISTS:loader-unknown-chain>:$<TARGET_OBJECTS:loader-unknown-chain>>) | |
add_library(vulkan | |
- SHARED | |
${NORMAL_LOADER_SRCS} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/make/autoconf/flags-cflags.m4 b/make/autoconf/flags-cflags.m4 | |
index f8fbe14cc..88b0cedfd 100644 | |
--- a/make/autoconf/flags-cflags.m4 | |
+++ b/make/autoconf/flags-cflags.m4 | |
@@ -206,7 +206,7 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS], | |
clang) | |
DISABLE_WARNING_PREFIX="-Wno-" | |
BUILD_CC_DISABLE_WARNING_PREFIX="-Wno-" | |
- CFLAGS_WARNINGS_ARE_ERRORS="-Werror" | |
+ CFLAGS_WARNINGS_ARE_ERRORS="-Wno-error" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sh import tail | |
import json | |
import requests | |
import os | |
import re | |
import time | |
token = os.environ.get("DISCORD_TOKEN") | |
for text in tail("-f", "/var/log/emerge.log", _iter=True): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.theoparis.fluidcraft_datagen; | |
import com.google.common.base.CaseFormat; | |
import java.lang.reflect.RecordComponent; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# LLVM_FOUND | |
# LLVM_INCLUDE_DIRS | |
# LLVM_LIBRARIES | |
# LLVM_LIBDIRS | |
set(LLVM_CONFIG_ERROR_MESSAGES "") | |
unset(LLVM_CONFIG_EXE CACHE) | |
find_program(LLVM_CONFIG_EXE | |
NAMES llvm-config NAMES_PER_DIR | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const modes = { | |
argon2d: 0, | |
argon2i: 1, | |
argon2id: 2, | |
}; | |
export type Mode = keyof typeof modes; | |
export type WasmExports = { | |
memory: { buffer: ArrayBuffer }; | |
hptr: () => number; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BSD Zero Clause License | |
# | |
# Copyright (c) 2023 Theo Paris | |
# | |
# Permission to use, copy, modify, and/or distribute this software for any | |
# purpose with or without fee is hereby granted. | |
# | |
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH | |
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY | |
# AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -oux | |
git clone https://github.com/libimobiledevice/libirecovery -j$(nproc) | |
git clone https://github.com/libimobiledevice/idevicerestore -j$(nproc) | |
git clone https://github.com/libimobiledevice/libimobiledevice-glue -j$(nproc) | |
git clone https://github.com/libimobiledevice/usbmuxd -j$(nproc) | |
git clone https://github.com/libimobiledevice/libimobiledevice -j$(nproc) | |
git clone https://github.com/libimobiledevice/libusbmuxd -j$(nproc) | |
git clone https://github.com/libimobiledevice/libplist -j$(nproc) |