Skip to content

Commit

Permalink
Skip get-platform details for non linux systems
Browse files Browse the repository at this point in the history
  • Loading branch information
anandhu-eng authored Oct 26, 2024
1 parent 7ed8fe8 commit 46762d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script/get-platform-details/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ def preprocess(i):
os_info = i['os_info']
env = i['env']

#if os_info['platform'] == "windows":
if os_info['platform'] != "linux":
print("WARNING: get-platform-details is not yet supported for non linux systems. Skipping for now...")
return {return: 0}
# return {'return':1, 'error':'get-platform-details script not yet supported in windows!'}

if not check_installation("numactl",os_info):
Expand Down

0 comments on commit 46762d9

Please sign in to comment.