Skip to content

Commit

Permalink
export all symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
mavenlin committed Dec 4, 2023
1 parent 85a20d8 commit ee33187
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions maple2jax/libxc/build.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ genrule(
cc_library(
name = "{{ src }}c.obj",
srcs = ["src_cc/{{ src }}c"],
features = select({
"@platforms//os:windows": ["windows_export_all_symbols"],
"//conditions:default": [],
}),
deps = [
":xc_inc",
":register",
Expand All @@ -84,6 +88,10 @@ pybind_extension(
"@platforms//os:windows": [],
"//conditions:default": ["-std=c++14"],
}),
features = select({
"@platforms//os:windows": ["windows_export_all_symbols"],
"//conditions:default": [],
}),
deps = [
":xc_inc",
"@visit_struct",
Expand Down

0 comments on commit ee33187

Please sign in to comment.