Skip to content

Commit a08b5c4

Browse files
authored
Update barracuda in the hopes that our burst crashes go away. (#4359)
* Update barracuda in the hopes that our burst crashes go away. * Check for an executable with the same name as the env before failing. * ignore macblas.
1 parent 272855d commit a08b5c4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

com.unity.ml-agents/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
"unity": "2018.4",
66
"description": "Use state-of-the-art machine learning to create intelligent character behaviors in any Unity environment (games, robotics, film, etc.).",
77
"dependencies": {
8-
"com.unity.barracuda": "1.0.1"
8+
"com.unity.barracuda": "1.0.2"
99
}
1010
}

ml-agents/tests/yamato/yamato_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,12 @@ def find_executables(root_dir: str) -> List[str]:
8989
Try to find the player executable. This seems to vary between Unity versions.
9090
"""
9191
ignored_extension = frozenset([".dll", ".dylib", ".bundle"])
92+
ignored_files = frozenset(["macblas"])
9293
exes = []
9394
for root, _, files in os.walk(root_dir):
9495
for filename in files:
9596
file_root, ext = os.path.splitext(filename)
96-
if ext in ignored_extension:
97+
if ext in ignored_extension or filename in ignored_files:
9798
continue
9899
file_path = os.path.join(root, filename)
99100
if os.access(file_path, os.X_OK):

0 commit comments

Comments
 (0)