Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assorted fixes for tests on Windows. #11079

Merged
merged 3 commits into from
Nov 8, 2022

Conversation

ScottTodd
Copy link
Member

Progress on #11009 (see some test runs of a build_test_all_windows CI job on #11050)

  • Tag simple_embedding_vulkan_test as using Vulkan, so it can be filtered
  • Initialize a struct in pack_test.cc
  • Fix PYTHONPATH separator for iree_local_py_test on Windows (while keeping CMake happy)

@ScottTodd ScottTodd added infrastructure Relating to build systems, CI, or testing runtime Relating to the IREE runtime library platform/windows 🚪 Windows-specific build, execution, benchmarking, and deployment bindings/python Python wrapping IREE's C API labels Nov 7, 2022
@ScottTodd ScottTodd enabled auto-merge (squash) November 8, 2022 00:19
# Extend the PYTHONPATH environment variable with _RULE_PACKAGE_DIRS.
list(APPEND _RULE_PACKAGE_DIRS "$ENV{PYTHONPATH}")
if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
# Windows uses semi-colon delimiters, but so does CMake, so escape them.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😢 Luckily this doesn't get passed around too much afterwards. Is it really necessary though? I thought when you expanded a list within quotes you got the string version anyway. I'm guessing you determined that it is necessary, but I'm slightly surprised

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I tried a few variations on this and either got only the first element of the list (i.e. runtime) or no delimiter at all (i.e. runtimecompiler).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bindings/python Python wrapping IREE's C API infrastructure Relating to build systems, CI, or testing platform/windows 🚪 Windows-specific build, execution, benchmarking, and deployment runtime Relating to the IREE runtime library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants