From e31a983556f1b6878fcd524392acbaaf7d5b53ec Mon Sep 17 00:00:00 2001 From: Billy Moses Date: Sat, 20 Apr 2024 23:21:31 -0400 Subject: [PATCH] add link = 0 --- deps/ReactantExtra/WORKSPACE | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deps/ReactantExtra/WORKSPACE b/deps/ReactantExtra/WORKSPACE index d9a5c042f..5576e0b2c 100644 --- a/deps/ReactantExtra/WORKSPACE +++ b/deps/ReactantExtra/WORKSPACE @@ -24,6 +24,9 @@ load("@enzyme_ad//:workspace.bzl", "JAX_COMMIT", "JAX_SHA256", "ENZYME_COMMIT", XLA_PATCHES = XLA_PATCHES + [ """ +sed -i.bak0 "s/patch_cmds = \\[/patch_cmds = \\[\\\"find . -type f -name config.bzl -exec sed -i.bak0 's\\/HAVE_LINK_H=1\\/HAVE_LINK_H=0\\/g' {} +\\\",/g" third_party/llvm/workspace.bzl +""", +""" sed -i.bak0 "s/patch_cmds = \\[/patch_cmds = \\[\\\"find . -type f -name config.bzl -exec sed -i.bak0 's\\/LLVM_ENABLE_THREADS=1\\/LLVM_ENABLE_THREADS=0\\/g' {} +\\\",/g" third_party/llvm/workspace.bzl """, """