-
Notifications
You must be signed in to change notification settings - Fork 234
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
[Windows] Support CPU shared memory (Client/Frontend) #551
base: main
Are you sure you want to change the base?
Changes from all commits
f8852d1
d4f9cee
b69868f
d28a780
875331f
dcefeac
caa2ed1
191be4c
bd9bea6
f854d4a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env python3 | ||
|
||
# Copyright 2020-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
# Copyright 2020-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
# | ||
# Redistribution and use in source and binary forms, with or without | ||
# modification, are permitted provided that the following conditions | ||
|
@@ -76,8 +76,10 @@ def req_file(filename, folder="requirements"): | |
extras_require["all"] = list(chain(extras_require.values())) | ||
|
||
platform_package_data = [] | ||
if PLATFORM_FLAG != "any": | ||
if "linux" in PLATFORM_FLAG: | ||
platform_package_data += ["libcshm.so"] | ||
elif PLATFORM_FLAG == "win_amd64": | ||
platform_package_data += ["cshm.dll"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we add an else block catching unsupported platform flags? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The platform flag is currently passed in from Are you suggesting raising an error in the event the if "linux" in PLATFORM_FLAG:
platform_package_data += ["libcshm.so"]
elif PLATFORM_FLAG == "win_amd64":
platform_package_data += ["cshm.dll"]
elif PLATFORM_FLAG != "any":
raise Exception(f"Unsupported platform flag \"{PLATFORM_FLAG}\" specified.") |
||
|
||
data_files = [ | ||
("", ["LICENSE.txt"]), | ||
|
Check notice
Code scanning / CodeQL
Commented-out code Note