Commit graph

3 commits

Author SHA1 Message Date
Scott J. Goldman 94618b6182
fix(opensearch): don't include the jna library on mac for x86-64 (#4847)
* fix(opensearch): don't include the jna library on mac for x86-64

there seems to be some linker issue with loading libc. calling these
native functions doesn't seem strictly necessary. maybe better that
the package works at all.

in macos 13 and later, it works fine, so maybe this workaround could
be removed when macos 12 is no longer supported

* fix(opensearch): remove some windows-only code that is breaking

* fix(opensearch): err, that was in the wrong spot
2024-01-14 21:17:05 -05:00
Scott J. Goldman ca17ab65c1 fix loader paths for opensearch
try appending to library path env vars instead of overriding
java.library.path which clobbers other necessary paths
2024-01-14 02:55:55 -05:00
Scott J. Goldman 488f027e5d
+opensearch (#4818)
* +opensearch

includes knn plugin

* opensearch: fix the rpath on the jnilibs

* opensearch: add debug lines to the gradle invocation

trying to see what's wrong with jsonslurper

* opensearch: remove the debug log

it's too noisy to see what's going on

* opensearch: does it help if we always use clang on mac?

* opensearch: reshuffle some workarounds on mac

* opensearch: cleanup deps

* clean up cd > working-directory

* yaml quoting

* more quoting

* fix my fixes

---------

Co-authored-by: Jacob Heider <jacob@pkgx.dev>
2024-01-13 23:20:46 -05:00