Skip to content

Commit

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

0 comments on commit 4810c8f

Please sign in to comment.