Skip to content

Commit

Permalink
Finally working macos jll
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Jul 12, 2024
1 parent 854451a commit 75f7b5a
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions deps/ReactantExtra/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,40 @@ cc_library(
],
alwayslink = True,
linkstatic = True,
linkopts = select({
"//conditions:default": [],
"@bazel_tools//src/conditions:darwin": [
"-Wl,-exported_symbol,_stablehlo*",
"-Wl,-exported_symbol,_mlir*",
"-Wl,-exported_symbol,_InitializeLogs",
"-Wl,-exported_symbol,_enzymeActivityAttrGet",
"-Wl,-exported_symbol,_MakeCPUClient",
"-Wl,-exported_symbol,_MakeGPUClient",
"-Wl,-exported_symbol,_ClientNumDevices",
"-Wl,-exported_symbol,_ClientNumAddressableDevices",
"-Wl,-exported_symbol,_ClientProcessIndex",
"-Wl,-exported_symbol,_ClientGetDevice",
"-Wl,-exported_symbol,_ClientGetAddressableDevice",
"-Wl,-exported_symbol,_ExecutableFree",
"-Wl,-exported_symbol,_BufferToDevice",
"-Wl,-exported_symbol,_BufferToClient",
"-Wl,-exported_symbol,_DeviceToClient",
"-Wl,-exported_symbol,_PjRtBufferFree",
"-Wl,-exported_symbol,_UnsafeBufferPointer",
"-Wl,-exported_symbol,_ArrayFromHostBuffer",
"-Wl,-exported_symbol,_BufferOnCPU",
"-Wl,-exported_symbol,_CopyBufferToDevice",
"-Wl,-exported_symbol,_BufferToHost",
"-Wl,-exported_symbol,_FreeClient",
"-Wl,-exported_symbol,_ClientCompile",
"-Wl,-exported_symbol,_FreeFuture",
"-Wl,-exported_symbol,_FutureIsReady",
"-Wl,-exported_symbol,_FutureAwait",
"-Wl,-exported_symbol,_RunPassPipeline",
"-Wl,-exported_symbol,_XLAExecute",
"-Wl,-exported_symbol,_RegisterDialects",
"-Wl,-exported_symbol,_InitializeRegistryAndPasses",
]}),
deps = [
"@enzyme//:EnzymeMLIR",
"@llvm-project//mlir:AffineDialect",
Expand Down

0 comments on commit 75f7b5a

Please sign in to comment.