Commit Graph

41 Commits

Author SHA1 Message Date
Bo Anderson 24e7e5429a xb: allow py.exe launcher 2022-12-17 13:37:10 -05:00
Margen67 74d83e4af8 Python/xenia-build/xb fixes
Use variable for Python version to make upgrading easier.
xb.bat:
 Update copyright date.
 Add candidate paths.
xb.ps1
 Properly use found python executable.
 More consistency with .bat.
 Don't spew unnecessary errors, etc.
 EOF newline.
2022-07-21 08:31:35 -05:00
Rick Gibbed a0f486b0fa
Bump minimum Python version (#1581)
Bump minimum Python version to 3.6.
2020-03-30 17:37:32 -05:00
gibbed 16bbfdbb3c Fix handling of paths to Python with spaces in xb.bat. 2019-08-23 10:40:21 -05:00
gibbed f9e037f84b Suppress stderr for 'where python'/'where python3' in xb.bat. 2019-08-18 09:49:44 -05:00
gibbed 75a78c45c4 More xb.bat fixes.
- Properly check if candidate path exists.
- Quote python path when invoking.
2019-08-18 09:35:11 -05:00
gibbed 7b0367da5f Overhaul finding Python in xb.bat.
- Checks hardcoded paths first, then checks for results of 'where python3' and
  'where python'.
- Checks if these files and have a size larger than 0 (fixes Windows 10 issue).
2019-08-17 08:07:02 -05:00
gibbed 745d5609e6 Add hardcoded path for Python 3.7 to xb.bat Python check. 2019-08-17 08:07:02 -05:00
DrChat d35ee68d67 Remove "FOUND PYTHON 2" debug message 2017-09-21 16:45:42 -05:00
Kriskras99 882f01533d Python 3 support (#755)
* Python 3 support

* Fix import_vs_environment in xenia-build

* Drop support for Python 2

* Fix CIs and xb.bat

* Require Python3.4+ because of Ubuntu Trusty

* popen.communicate returns bytes instead of string

* Useful info in travis

* universal_newlines should be True

* Changed shebang to python 3

* Python 3 shebang fix

* Clang python 3 shebang fix
2017-09-21 16:42:57 -05:00
Margen67 87cf0d5ed3 Update Python 2.7 to latest version 2017-03-18 08:06:35 -07:00
Dr. Chat 880835d9b5 Slightly better python-finding. 2016-09-28 18:30:45 -05:00
DrChat 3b7002e945 Allow xb.bat to find python from a common install path 2016-09-27 14:16:00 -05:00
Adam Baxter a6c703a031 Bump suggested Python 2.7 version in xb.bat 2016-09-17 22:01:11 +10:00
Ben Vanik 57f2504e1f Try python2 before python. 2015-11-25 15:22:53 -08:00
Ben Vanik b56b262116 Switching to python build script. 2015-07-31 23:48:24 -07:00
Ben Vanik edfa3f3fc0 Replacing the tick count timer with xplat abstraction (also better rate).
Fixes #346.
2015-07-19 10:11:54 -07:00
Ben Vanik 9bcc4e046c Fixing bootstrap from non-VS command prompts. 2015-07-19 09:44:44 -07:00
Ben Vanik 4128727f6b Cleaning up some /W4 errors. 2015-07-18 16:40:22 -07:00
Ben Vanik e0eb85bbbc Switching to premake. Probably with disasterous consequences. 2015-07-18 16:00:01 -07:00
Ben Vanik e69c7b00a8 Recursive submodule init. 2015-07-12 22:04:16 -07:00
Ben Vanik f902f8b78a xb lint, and --origin for lint/format to format all changes from origin. 2015-06-22 21:49:58 -07:00
Ben Vanik 58e616f3cf Removing the HIR test until it's fixed (or killed). 2015-06-18 22:38:46 -07:00
Ben Vanik bde2be5ddb Fiddling to get buildbot working. 2015-06-18 21:47:28 -07:00
Ben Vanik 0c9180eef0 Auto source vcvars (no need to use Developer Prompt anymore). 2015-06-13 11:15:00 -07:00
gibbed 54f03529db Show linker errors when assembling tests. 2015-06-07 06:47:10 -05:00
gibbed 336658159a Assemble tests in 32-bit mode rather than 64-bit mode. Shouldn't hurt anything, but will allow for proper 32-bit relocations. 2015-06-07 06:46:24 -05:00
Ben Vanik 576d6492dc Basic debugger networking. 2015-05-25 00:51:22 -07:00
Riley Labrecque 23c91b2eff Remove test binaries now that they can be created on Windows 2015-05-24 01:23:14 -06:00
Ben Vanik bac3f8c3bd Fixing tests. 2015-05-21 07:51:56 -07:00
Ben Vanik c1d167aff8 Fixing error reporting from gentests. Also renaming to 'xb gentests'. 2015-05-12 21:52:44 -07:00
Ben Vanik a72dc93b92 'xb gentest' to generate test binaries on Windows. 2015-05-12 21:41:44 -07:00
Ben Vanik 2c50054a05 Revert "Update xb.bat"
@* takes all arguments, even ones shifted off.
We only want to pass ones after --.

This reverts commit f884830590.
2015-05-12 07:47:19 -07:00
Alex Forbes-Reed f884830590 Update xb.bat 2015-05-12 11:26:34 +01:00
Ben Vanik a94234df52 Pass args after -- into tests. 2015-05-11 23:01:55 -07:00
Ben Vanik 7a00b76a6e Debugger stuff, and changing to vcproj's/sln. 2015-05-09 17:48:12 -07:00
Ben Vanik 4c8f3501ad Removing xdb and old tracing code before rewrite. 2015-05-03 22:01:31 -07:00
Ben Vanik c6a980c571 Kicking buildbot. 2015-05-02 22:58:56 -07:00
Ben Vanik 8b7187d480 Tweaking build script for weird pythons. 2015-05-02 21:57:51 -07:00
Ben Vanik 519fefd58d Replacing python stuff with BAT, 1993-style. 2015-05-02 21:46:42 -07:00
Ben Vanik d3665cc2e6 Support for VS2013 (and auto picking), a Win xb script, and readme updates.
This also removes the dependency on D3DX, which is only included in the
DXSDK, meaning that just the Win8+ SDK should be required now.
2013-10-17 23:35:54 -07:00