Skip to content

this and that#7

Open
skaravos wants to merge 34 commits intomarchelzo:masterfrom
skaravos:steve
Open

this and that#7
skaravos wants to merge 34 commits intomarchelzo:masterfrom
skaravos:steve

Conversation

@skaravos
Copy link
Collaborator

@skaravos skaravos commented Mar 8, 2026

  • moved vendored stuff into a 'vendored' subdir
  • cmake improvements
  • docker build script improvements
  • add basic CLAUDE.md

skaravos added 30 commits March 8, 2026 19:17
Notes:
- Silences warning about policy CMP0174
  blah blah cmake_parse_arguments setting empty string args blah blah

Refs:
- "https://cmake.org/cmake/help/latest/policy/CMP0174.html"
Notes:
- The previous approach was doing internal buffering, causing the lines
  of stderr and stdout to be interleaved in a weird way.
- I could also have used the `-W interactive` argument to awk, but that
  is unintuitive compared to the nicely named sed flag.
Notes:
- Some of the vcpkg dependencies don't work in ubuntu 16 or 18 anymore
Notes:
- The default for ninja is _probably_ fine, but the explicit way is
  probably better?
Notes:
- Allows use of $<LINK_LIBRARY:WHOLE_ARCHIVE,...>
Changes:
- Moved all vendored libraries into a subdirectory
- Added a dedicated CMakeLists.txt for these libs
- Added alias cmake targets with 'vendored::' prefix for these targets
- Removed unnecessary target_include_directories from ty interface
skaravos and others added 4 commits March 8, 2026 19:17
Notes:
- This tells vcpkg to compile it so we can reference the just-compiled
  version instead of relying on the user to already have a
  system-installed copy of luajit.
@marchelzo
Copy link
Owner

[21/132] Generating JIT emission header from /Users/brad/ty/src/jit_arm64.dasc
FAILED: /Users/brad/ty/src/jit_arm64.h
cd /Users/brad/ty/_build/clang-osx && /Users/brad/ty/_vcpkg_installed/arm64-osx/tools/luajit/luajit /Users/brad/ty/LuaJIT/dynasm/dynasm.lua -o /Users/brad/ty/src/jit_arm64.h /Users/brad/ty/src/jit_arm64.dasc
/bin/sh: line 1: 65610 Segmentation fault: 11  /Users/brad/ty/_vcpkg_installed/arm64-osx/tools/luajit/luajit /Users/brad/ty/LuaJIT/dynasm/dynasm.lua -o /Users/brad/ty/src/jit_arm64.h /Users/brad/ty/src/jit_arm64.dasc
[30/132] Linking C static library libty_Objects_VersionInfo.a
ninja: build stopped: subcommand failed.

Sigh... another loss.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants