"3rdparty/git@developer.sourcefind.cn:change/sglang.git" did not exist on "bad7c26fdc7fb87099dc833ebf8ff873cef5170b"
Unverified Commit 3eca23d5 authored by Yuge Zhang's avatar Yuge Zhang Committed by GitHub
Browse files

Attempt to fix sqlite3 on Windows (#5068)

parent 5f571327
...@@ -243,6 +243,10 @@ def copy_nni_node(version): ...@@ -243,6 +243,10 @@ def copy_nni_node(version):
package_json['version'] = version package_json['version'] = version
json.dump(package_json, open('nni_node/package.json', 'w'), indent=2) json.dump(package_json, open('nni_node/package.json', 'w'), indent=2)
if sys.platform == 'win32':
# On Windows, manually install node-gyp for sqlite3.
_yarn('ts/nni_manager', 'global', 'add', 'node-gyp')
# reinstall without development dependencies # reinstall without development dependencies
_yarn('ts/nni_manager', '--prod', '--cwd', str(Path('nni_node').resolve())) _yarn('ts/nni_manager', '--prod', '--cwd', str(Path('nni_node').resolve()))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment