Commit 22b1691
Complete JIT dependency fix for v0.2.2 (#11)
* Complete JIT dependency bundling for v0.2.2
Extend JIT fix to bundle complete LLVM dependency chain:
- Bundle libLLVM.dylib (main LLVM library)
- Bundle libz3.4.15.dylib (Z3 SMT solver - LLVM dependency)
- Bundle libzstd.1.dylib (Zstandard compression - LLVM dependency)
- Fix all hardcoded homebrew paths using install_name_tool
- Update library IDs for portable @loader_path resolution
Add comprehensive JIT compilation tests:
- Test JIT parameter availability
- Test JIT enable/disable functionality
- Test actual JIT compilation with complex queries
- Validate complete JIT workflow end-to-end
This fixes the remaining JIT compilation issues where basic setup
worked but actual compilation failed due to missing transitive
dependencies.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Fix ARM64 LLVM JIT compatibility on macOS
Resolves "Unsupported stack probing method" error on ARM64 by ensuring
PostgreSQL uses matching Clang and LLVM versions from Homebrew.
- Add CLANG environment variable pointing to Homebrew LLVM Clang
- Ensure LLVM_CONFIG and CLANG are from same installation
- Fixes version mismatch between system Clang and Homebrew LLVM
- Resolves ARM64-specific JIT compilation crashes
Based on research of LLVM issue #95804 and PostgreSQL build requirements.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 6c833ec commit 22b1691
2 files changed
+107
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
96 | 100 | | |
97 | 101 | | |
98 | 102 | | |
| |||
128 | 132 | | |
129 | 133 | | |
130 | 134 | | |
131 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
132 | 138 | | |
133 | 139 | | |
134 | 140 | | |
135 | 141 | | |
136 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
137 | 165 | | |
138 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
139 | 170 | | |
140 | 171 | | |
141 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
142 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
143 | 191 | | |
144 | 192 | | |
145 | 193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
98 | 150 | | |
99 | 151 | | |
100 | 152 | | |
| |||
0 commit comments