Skip to content

Commit

Permalink
cat link params
Browse files Browse the repository at this point in the history
  • Loading branch information
mavenlin committed Dec 4, 2023
1 parent 0b4de9b commit 613ecc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
run: |
pip install -r requirements.txt
bazel build --config=windows_x86_64 --remote_cache=http://${{ secrets.BAZEL_CACHE }}:8080 @maple2jax//:jax_xc_wheel
cat bazel-out/x64_windows-opt-exec-2B5CBBC6/bin/external/maple2jax/jax_xc/libxc.so-2.params
shell: pwsh
- name: Upload artifact
uses: actions/upload-artifact@main
Expand Down
13 changes: 3 additions & 10 deletions maple2jax/libxc/build.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -78,22 +78,15 @@ cc_library(

{% endfor %}

cc_binary(
name = "libxc.so",
pybind_extension(
name = "libxc",
copts = select({
"@platforms//os:windows": [],
"//conditions:default": ["-std=c++14", "-fexceptions"],
"//conditions:default": ["-std=c++14"],
}),
features = [
"-use_header_modules", # Required for pybind11.
"-parse_headers",
],
linkshared = 1,
deps = [
":xc_inc",
"@visit_struct",
"@pybind11",
"@local_config_python//:python_headers",
":register",
{% for basename in c_file_basenames %}
":{{ basename }}c.obj",
Expand Down

0 comments on commit 613ecc3

Please sign in to comment.