Various fixes

- Do not enable CPU device together with OpenCL/CUDA when device name is not
  specified.
- Adopt output log parser fr the changed path tracing message.
- Solve issue with using same short name of command line argument for single
  device specification.
- Reshuffle include statements so it's kind of possible to use bundle python.
  Still need to work this properly, but that's for later.
This commit is contained in:
2017-11-01 16:07:46 +01:00
parent efd39a9e86
commit c41658857a
5 changed files with 8 additions and 5 deletions

View File

@@ -1,4 +1,3 @@
import dateutil
import foundation
from foundation import progress
import os
@@ -134,6 +133,7 @@ def blenderCommitUnixTimestamp(commit_date, commit_time):
"""
Convert commit build time and time to unix timestamp
"""
import dateutil
date_time = commit_date + " " + commit_time
return dateutil.parser.parse(date_time)