Skip to content

Commit f5cf0aa

Browse files
authored
fix: always link cinterface (#1497)
1 parent b1a2c3c commit f5cf0aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/enzyme_ad/jax/BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,13 +701,15 @@ cc_library(
701701
name = "CInterface",
702702
srcs = ["Integrations/c/EnzymeXLA.cpp"],
703703
hdrs = ["Integrations/c/EnzymeXLA.h"],
704+
visibility = ["//visibility:public"],
704705
deps = [
705706
":EnzymeXLADialect",
706707
"@llvm-project//llvm:Support",
707708
"@llvm-project//mlir:CAPIIRObjects",
708709
"@llvm-project//mlir:IR",
709710
"@llvm-project//mlir:Support",
710711
],
712+
alwayslink = True,
711713
)
712714

713715
cc_library(

0 commit comments

Comments
 (0)