forked from allegory-software/allegory-sdk-luajit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
584868b
commit 401f7b8
Showing
614 changed files
with
186,471 additions
and
122 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
|
||
# Find Clang | ||
CLANG=$(which clang) | ||
CLANGXX=$(which clang++) | ||
|
||
if [ -z "$CLANG" ] || [ -z "$CLANGXX" ]; then | ||
echo "Clang not found." | ||
exit 1 | ||
fi | ||
|
||
# Set Clang as the compiler | ||
export CC=$CLANG | ||
export CXX=$CLANGXX | ||
|
||
# Create a build directory | ||
mkdir -p build | ||
cd build | ||
|
||
# Configure the project with CMake using Ninja | ||
cmake -G Ninja .. -DCMAKE_BUILD_TYPE=Debug -DUSE_FORCE_CLANG=ON -DUSE_DEBUG_MODE=ON | ||
|
||
# Build the project | ||
ninja | ||
|
||
# Return to the original directory | ||
cd .. |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
message(STATUS "Debug mode enabled") | ||
set(CMAKE_BUILD_TYPE Debug) | ||
set(BUILD_TYPE "Debug") | ||
|
||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mbmi") | ||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mbmi") | ||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mavx") | ||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mavx") | ||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mavx2") | ||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mavx2") | ||
|
||
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g") | ||
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0") | ||
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -Wextra") | ||
#set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -fsanitize=address") | ||
#set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -fsanitize=address") | ||
set(CMAKE_VERBOSE_MAKEFILE ON) | ||
|
||
export const urlAlphabet = 'ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW'; |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
test/fixtures/lorem_ipsum.txt text eol=lf |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- | ||
If you want to report a bug, you are in the right place! | ||
If you need help or have a question, go here: | ||
https://github.com/libuv/libuv/discussions | ||
If you are reporting a libuv test failure, please ensure that you are not | ||
running the test as root. | ||
Please include code that demonstrates the bug and keep it short and simple. | ||
--> | ||
* **Version**: <!-- libuv version --> | ||
* **Platform**: <!-- `uname -a` (UNIX), or Windows version and machine type --> |
Oops, something went wrong.