Skip to content

Commit

Permalink
Update barracuda in the hopes that our burst crashes go away. (#4359)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
surfnerd authored Aug 14, 2020
1 parent 272855d commit a08b5c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion com.unity.ml-agents/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"unity": "2018.4",
"description": "Use state-of-the-art machine learning to create intelligent character behaviors in any Unity environment (games, robotics, film, etc.).",
"dependencies": {
"com.unity.barracuda": "1.0.1"
"com.unity.barracuda": "1.0.2"
}
}
3 changes: 2 additions & 1 deletion ml-agents/tests/yamato/yamato_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,12 @@ def find_executables(root_dir: str) -> List[str]:
Try to find the player executable. This seems to vary between Unity versions.
"""
ignored_extension = frozenset([".dll", ".dylib", ".bundle"])
ignored_files = frozenset(["macblas"])
exes = []
for root, _, files in os.walk(root_dir):
for filename in files:
file_root, ext = os.path.splitext(filename)
if ext in ignored_extension:
if ext in ignored_extension or filename in ignored_files:
continue
file_path = os.path.join(root, filename)
if os.access(file_path, os.X_OK):
Expand Down

0 comments on commit a08b5c4

Please sign in to comment.