Skip to content

Conversation

@fs-eire
Copy link
Contributor

@fs-eire fs-eire commented Jul 21, 2025

Description

optimize search for nodejs in CMake.

Motivation and Context

The default behavior of CMake's find_program() is to search /bin/ folder before $PATH. This may cause a very old Node.js to be used.

@fs-eire fs-eire force-pushed the fs-eire/try-fix-npm-packaging-pipeline-3 branch from e6d5b8e to d057284 Compare July 21, 2025 12:15
@fs-eire fs-eire merged commit 3c7a617 into main Jul 21, 2025
99 of 100 checks passed
@fs-eire fs-eire deleted the fs-eire/try-fix-npm-packaging-pipeline-3 branch July 21, 2025 16:49
qti-yuduo pushed a commit to CodeLinaro/onnxruntime that referenced this pull request Aug 8, 2025
### Description

optimize search for nodejs in CMake.

### Motivation and Context

The default behavior of CMake's `find_program()` is to search `/bin/`
folder before `$PATH`. This may cause a very old Node.js to be used.
sanketkaleoss pushed a commit to sanketkaleoss/onnxruntime that referenced this pull request Aug 11, 2025
### Description

optimize search for nodejs in CMake.

### Motivation and Context

The default behavior of CMake's `find_program()` is to search `/bin/`
folder before `$PATH`. This may cause a very old Node.js to be used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants