-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[misc] Output "taichi_cpp_tests.exe" to the "bin" folder on Windows #2515
Conversation
@@ -21,6 +21,11 @@ make | |||
./taichi_cpp_tests | |||
``` | |||
|
|||
:::note | |||
On Windows, `taichi_cpp_tests.exe` will be outputted into the `%TAICHI_REPO_DIR%\bin` directory, | |||
so you can directly run it after adding the directory to `PATH` in [Setting up Taichi for development](dev_install.md#setting-up-taichi-for-development-3). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hopefully I understand how the link works correctly -- feel free to correct me if the syntax is wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Co-authored-by: Ye Kuang <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Related issue = # Output all exes to build/ > This PR moves it to bin\, which is in the PATH and we can run taichi_cpp_tests everywhere. > --from #2515 (comment) IMO, we should run cpp/capi tests by running `python run_tests.py --cpp` instead of launching `taichi_cpp_tests(.exe)` manually Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Related issue = #2502
By default, on Windows, Taichi outputs
taichi_cpp_tests.exe
in somewhere likebuild\RelWithDebInfo\
, which is hard to find.This PR moves it to
bin\
, which is in thePATH
and we can runtaichi_cpp_tests
everywhere.