Skip to content

Commit

Permalink
kill luajit
Browse files Browse the repository at this point in the history
Will probably use daslang instead.
  • Loading branch information
sthalik committed Oct 5, 2024
1 parent c7a4459 commit 09ebc8b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
[submodule "fmt"]
path = external/fmt
url = https://github.com/fmtlib/fmt.git
[submodule "luajit"]
path = external/luajit
url = https://github.com/sthalik/luajit.git
[submodule "robin-map"]
path = external/robin-map
url = https://github.com/Tessil/robin-map.git
Expand Down
14 changes: 0 additions & 14 deletions external/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -270,19 +270,6 @@ if(FLOORMAT_SUBMODULE-DEPENDENCIES)
install(TARGETS benchmark RUNTIME DESTINATION "bin")
endfunction()

function(fm_add_luajit)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_EXTENSIONS 1)
unset(CMAKE_C_VISIBILITY_PRESET)
unset(CMAKE_VISIBILITY_INLINES_HIDDEN)
if(CMAKE_COMPILER_IS_GNUCXX)
# HACK
add_compile_options(-fno-sanitize=all)
add_link_options(-fno-sanitize=all)
add_subdirectory(luajit ${system})
endif()
endfunction()

fm_run_hook(fm-userconfig-external)

function(fm_add_libs)
Expand All @@ -297,7 +284,6 @@ if(FLOORMAT_SUBMODULE-DEPENDENCIES)
fm_add_benchmark()
endif()
fm_add_sdl2()
#fm_add_luajit()
if(MSVC)
add_compile_options(-GR-)
else()
Expand Down
1 change: 0 additions & 1 deletion external/luajit
Submodule luajit deleted from 0a29d9

0 comments on commit 09ebc8b

Please sign in to comment.