Skip to content

Commit

Permalink
Update to newer FreeBSD image and fix build (#667)
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottslaughter authored Jun 22, 2024
1 parent af046fb commit 7c14775
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ freebsd_task:
name: FreeBSD
freebsd_instance:
matrix:
image_family: freebsd-13-2
# image_family: freebsd-12-3
image_family: freebsd-14-0
env:
matrix:
LLVM_VERSION: 11
Expand All @@ -13,6 +12,7 @@ freebsd_task:
LLVM_VERSION: 15
LLVM_VERSION: 16
LLVM_VERSION: 17
LLVM_VERSION: 18
install_script: pkg install -y bash coreutils cmake gmake llvm$LLVM_VERSION
script: |
export CC=cc
Expand Down
2 changes: 1 addition & 1 deletion cmake/Modules/GetLuaJIT.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ else()
DEPENDS ${LUAJIT_SOURCE_DIR}
# MACOSX_DEPLOYMENT_TARGET is a workaround for https://github.com/LuaJIT/LuaJIT/issues/484
# see also https://github.com/LuaJIT/LuaJIT/issues/575
COMMAND ${MAKE_EXE} install "PREFIX=${LUAJIT_INSTALL_PREFIX}" "CC=${CMAKE_C_COMPILER}" "STATIC_CC=${CMAKE_C_COMPILER} -fPIC" CCDEBUG=$<$<CONFIG:Debug>:-g> XCFLAGS=-DLUAJIT_ENABLE_GC64 MACOSX_DEPLOYMENT_TARGET=10.7
COMMAND ${CMAKE_COMMAND} -E env --unset=MAKEFLAGS ${MAKE_EXE} install "PREFIX=${LUAJIT_INSTALL_PREFIX}" "CC=${CMAKE_C_COMPILER}" "STATIC_CC=${CMAKE_C_COMPILER} -fPIC" CCDEBUG=$<$<CONFIG:Debug>:-g> XCFLAGS=-DLUAJIT_ENABLE_GC64 MACOSX_DEPLOYMENT_TARGET=10.7
WORKING_DIRECTORY ${LUAJIT_SOURCE_DIR}
VERBATIM
)
Expand Down

0 comments on commit 7c14775

Please sign in to comment.