Граф коммитов

16 Коммитов

Автор SHA1 Сообщение Дата
Chris B 60bb2c1ae5
Fix TAEF lookup for nuget and SDK paths (#5452)
The standard TAEF install paths use the x64 and x86 paths just like the
TAEF_ARCH. I'm not entirely sure where the alternative TAEF_BIN_ARCH
naming is used, but it seems to be used in the custom tooling for
fetching and building TAEF.

This only alters the parts of the code that I've been able to verify
locally.
2023-07-25 15:43:21 -05:00
Xiang Li 1e390295e1
Allow find te.exe with %TAEF_PATH% directly. (#5150)
* Allow find te.exe with %TAEF_PATH% directly.

This is for pipeline test where te.exe is set with %TAEF_PATH%.

* Use FATAL_ERROR when cannot find taef
2023-04-17 11:51:19 -07:00
Xiang Li 689084cadd
Fix lit test fails (#4973)
1. added dxc_batch as dependent for clang tests.
2. Not run exec test by default.
3. Strip directory which has dxil.dll from %PATH% for taef test which not need it.
4. Add select_filter and use @Name for TestName.
    * Enable mix select filter by use shell=True when open subprocess.
5. Only run execution test when dxil.dll exist or experimental mode enabled.
2023-02-02 16:24:03 -08:00
Xiang Li 9c3dab6896
Add lit test for execution test. (#4964)
* Add lit test for execution test.
* Treat taef skipped as lit Unsupported.
2023-01-27 01:34:56 +00:00
Chris B ac3a6ae9f4
Enable building with ninja through Visual Studio (#4889) 2023-01-05 23:07:36 -06:00
Helena Kotas cde8ccc93c
Fix ARM build break (#4823) 2022-11-29 10:37:10 -08:00
Chris B fb6b287c23
Remove DXC_BUILD_ARCH variable (#4156)
* Remove DXC_BUILD_ARCH variable

This commit simplifies the cross-targeting build support to not require
specifying the build architecture explicitly. Instead it is derived from
the build tools used in the generation.

I've tested this change locally for Win32, x64 and arm64.

* Special handling for arm64ec

* Bump required CMake to 3.10

CMake 3.10 is very old, but has a feature this PR uses. Raising the
requirement should have no impact on our users.

* Fix build issues caused by changes in CMake 3.10
2022-11-22 09:33:06 -06:00
Tex Riddell 6f766ed828
New HLSL_AGILITYSDK_DIR and HLSLHost dependency copying help. (#4297)
Use environment variable HLSL_AGILITYSDK_DIR which you can point to
extracted contents of an AgilitySDK.
Automatically copy binaries to appropriate location when set.

Look for MinTe binary set from TAEF.  If found, set a local TAEF binary
location.
If this is set when running execution tests, copy MinTe there, and if the
HLSL_AGILITYSDK_DIR was set, also copy agility SDK binaries under the
.\D3D12\ subdir there, so the test can automatically pick it up.

Add hctbins.cmd to copy extra bins necessary for running things out of
the ...\bin or ...\test directories such as HLSLHost.exe.  This includes
AgilitySDK bins if set.

Update FindTAEF.cmake to set binary dir based on HLSL_TAEF_DIR

Since we don't actually support a single project building to multiple
architectures, we look for te.exe in x86 OR x64 subdir.
Whichever one is set in hctstart.cmd should be the one that will be used.
2022-02-24 14:04:52 -08:00
Helena Kotas 1eaf88b374
TAEF cmake fixes (#3290)
- prioritize TAEF path from environment variable
- find TAEF binaries based on the header location
2020-12-01 18:51:35 -08:00
Helena Kotas 6008113f60
Support for ARM64EC and custom cmake (#3245)
* Merged PR 5375287: Support for ARM64EC and custom cmake

* Fix linux build break

* Change argument name to -dxc-cmake
2020-11-06 14:46:44 -08:00
Helena Kotas 068ddf8884
Enable TAEF path specification via environment variable (#2778) (#2898) 2020-05-21 19:04:32 -07:00
Helena Kotas 7fd91d777f
Modify build script and environment to support ARM64 build (#1308)
hctstart.cmd and hctbuild.cmd now support ARM64 builds.

Note that building ARM64 build on x86/x64 machine needs a location
of x86/x64 version of TableGen tools (clang-tblgen and llvm-tblgen).
Before starting ARM64 build set the BUILD_TBLGEN_PATH to point to
the TableGen binaries or use the -tblgen option on hctbuild.cmd.

Also had to rearrange control flow around the cmake --build call
in hctbuild.cmd due to a flaky batch behavior around brackets.
2018-06-08 13:06:48 -07:00
Marcelo Lopez Ruiz 73ef58933c Fix te discovery from external dir, including x64/amd64 usage. (#407) 2017-07-07 16:47:57 -07:00
Lei Zhang 47706a1bcc Support Ninja as the generator (#203) 2017-04-12 14:15:24 -07:00
Marcelo Lopez Ruiz 2cce7933fb Add support for an inline TAEF install rather than requiring WDK (#196)
Adds support for SDK 10.0.15063.0.
Adds support for TAEF download into external dir, no WDK required.
2017-04-10 22:53:37 -07:00
Marcelo Lopez Ruiz 6ee4074a4b first commit 2016-12-28 11:52:27 -08:00