alpaca-core / ac-local

Alpaca Core local inference SDK
MIT License
1 stars 0 forks source link

Allow use of sanitizers in java tests #134

Open iboB opened 1 month ago

iboB commented 1 month ago

Currently sanitized builds cannot be used in java (and thus the tests don't run). They fail like:

==67766==
ASan runtime does not come first in initial library list; 
you should either link runtime to your application or manually preload it with LD_PRELOAD.

It should be possible to make them run with LD_PRELOAD. We should expand our java test runners to preload required libs.

Until we do the proper thing, we'll add a simple workaround and disable java tests when there are sanitizers