Commit Graph

78 Commits

Author SHA1 Message Date
gibbed 5aeeed72b9 Lint all files in a sorted manner. 2020-02-22 12:31:21 -06:00
gibbed 39765093d6 Fix xb lint --all on Windows. 2020-02-22 12:31:21 -06:00
gibbed ec15da8b14 Use newer clang+llvm+clang-format. 2020-02-22 12:31:21 -06:00
Prism Tutaj f6e6641568 [XB] Fix python not expecting UTF-8 for the output of vswhere 2020-02-21 00:37:24 -06:00
Rick Gibbed 754e64fcf1 Fix warning that newer Python is whining about.
Fix a warning that a newer version of Python is whining about:
SyntaxWarning: "is" with a literal. Did you mean "=="?
2020-02-08 16:25:13 -06:00
gibbed c19dc9c7d6 Prefer vsdevcmd over vcvarsall. 2019-08-17 08:32:20 -05:00
gibbed 1ebc13df94 Oops. Call set after vsdevcmd. 2019-08-17 08:32:20 -05:00
Triang3l 352f12f92e [D3D12] Switch from gflags to cvars 2019-08-03 16:53:23 +03:00
Jonathan Goyvaerts eaf92cc7dc Default the number of parallel build threads to 4 so clang doesn't run out of memory (both local and on travis-ci) 2019-08-03 02:34:29 +02:00
gibbed e024cbc3f0 Merge remote-tracking branch 'origin/master' into d3d12 2019-07-18 12:33:52 -05:00
Margen67 efdc78ee22
Fix typo in xenia-build 2019-07-17 17:52:01 -07:00
Triang3l db44eaf2e4 Merge branch 'master' into d3d12 2019-07-11 09:26:57 +03:00
Margen67 d9ace8a923 [xenia-build] Update old link and fix VS Preview not being found
-prerelease allows preview/prerelease versions of VS to work in xb.
https://github.com/microsoft/vswhere/issues/185#issuecomment-499962802
2019-06-30 17:06:53 -05:00
Silent 17924bc945
[xenia-build] Make vswhere.exe output in UTF-8 so Python doesn't fail to parse regional characters in output 2019-06-29 13:08:54 +02:00
gibbed 6789873620 Merge branch 'master' into d3d12 2019-05-12 07:48:18 -05:00
Margen67 24c290e8a9 Fix/remove OpenGL leftovers 2019-05-08 08:31:04 -07:00
gibbed 827567a21a Merge branch 'master' into d3d12 2019-04-18 11:23:41 -05:00
gibbed 3d56d6c46c Use vcvarsall in Xenia build script when available, VcDevCmd otherwise. 2019-04-18 10:56:27 -05:00
gibbed 2dbd86ae23 Rework Xenia/premake build scripts to use VsDevCmd for VS2017+ instead
of vcvarsall.bat, this removes Windows Universal CRT SDK as a required
dependency.
2019-04-18 10:18:43 -05:00
Triang3l ec92d46480 Merge branch 'master' into d3d12 2019-04-18 17:54:57 +03:00
gibbed ffbc99926b - Update premake build script for VS2017+ build support.
- Update premake (for VS2019 support).
- Update Xenia build script to detect VS2017+ version.
- Update Xenia premake scripts due to updated premake.
- Fix cc override in Xenia build script.
2019-04-18 09:28:31 -05:00
Triang3l 2b646ff425 [D3D12] Fake per-edge tessellation with continuous 2018-12-12 22:12:32 +03:00
Triang3l 5b9e4b5886 Merge branch 'master' into d3d12 2018-11-27 11:05:14 +03:00
gibbed af206addd1 Optimize SPIRV code generated via genspirv command. 2018-11-26 11:49:36 -06:00
Triang3l da280347c4 Merge branch 'master' into d3d12 2018-11-22 21:01:05 +03:00
Margen67 896ac4a682 Update documentation.
- Convert http to https, provide archive link when possible.
- Made CPU-JIT.png more readable on dark themes;
Added a white background so there isn't black text on a black
background.
2018-11-22 09:20:09 -06:00
Triang3l abdb37464d
Merge branch 'master' into d3d12 2018-10-22 23:15:07 +03:00
Justin Moore 2fa7607547
Merge pull request #1086 from bwrsandman/xenia-build-test-bin-path
[Test] Fix build_bin_path for case sensitive FS
2018-10-12 15:08:04 -05:00
Triang3l be2d522e19 [D3D12] Rename shaders/bin to shaders/dxbc because of .gitignore 2018-09-16 20:35:10 +03:00
Triang3l 550caf4a72 [D3D12] Use shader model 5_1 because of dynamic indexing 2018-07-20 20:46:01 +03:00
Triang3l 03da2929aa [D3D12] Add HLSL building to xenia-build 2018-07-18 13:16:12 +03:00
Dr. Chat efc36e50be Use the same python as the currently executing python to run scripts 2018-04-28 20:15:16 -05:00
DrChat 14abe1a407 Fixup 360 support 2018-04-03 19:02:49 -05:00
Sandy Carter 83ddf27392 [Test] Fix build_bin_path for case sensitive FS
Match xenia-build and premake configuration and platform capitalization with
only first letter capitalized in filesystem (Debug, Checked, Released, Linux,
Windows, etc).
Fix xenia-build test command on linux systems.
2018-02-14 20:57:48 -08:00
DrChat 4ce774576b Fix genspirv command 2017-12-21 16:11:35 -06:00
DrChat 0efb08ad74 Support -j flag in xenia-build 2017-12-19 19:25:25 -06:00
DrChat 3d1a1c2519 Properly decode git information before printing it into version.h 2017-12-15 23:43:27 -06: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
Justin Moore f5e3b59c42 Merge pull request #697 from Kriskras99/patch-1
Specify python2 in xenia-build
2017-05-11 15:17:31 -05:00
Dr. Chat 737b78ad49 Last stretch to get PPC native tests working 2017-05-11 15:09:43 -05:00
Kriskras99 e6d1a3a302 Specify python2 in xenia-build
Otherwise it breaks on Arch Linux
2017-05-02 18:54:03 +02:00
Dr. Chat 8c16f91b7b Update premake to support vs2017. 2017-04-23 22:02:43 -05:00
gibbed 201f907beb - Fix check in xenia-build so it properly recognizes when Visual Studio is not detected.
- Point the user to the building guide instead of just mentioning the envvar.
2017-04-20 16:55:38 -05:00
gibbed d2c84e37ee Use vswhere to detect Visual Studio 2017. 2017-04-19 21:31:30 -05:00
Dr. Chat 5fb16b5bfa Travis: Build in release/debug 2017-02-17 23:58:42 -06:00
Dr. Chat 50cc2385dd travis: clang-3.9 2017-02-05 22:01:13 -06:00
Dr. Chat 73d3697efc xb premake: Allow the premake script to bootstrap premake. 2017-01-26 23:57:04 -06:00
DrChat 20458de752 Don't discard stdout when running premake (hiding important errors) 2016-09-09 18:54:28 -05:00
Dr. Chat 84f62eaa70 xb: Redefine CC/CXX environmental variables only if not defined in the first place. 2016-06-13 18:42:48 -05:00
Dr. Chat eb7b80bf7c Appveyor: Swap to xenia-build and only build the projects we need. 2016-06-12 20:05:58 -05:00