39 Commits

Author SHA1 Message Date
fd46428741 Switch builds to LLVM 16 and update docs
Switch builds to use LLVM 16. Updated the documentation to treat LLVM 16 as default.
Refreshed parts of buildIGC.sh regarding supported versions. Fixed a bug when setting a variable in buildIGC.sh to a default value.

Force enabled exceptions for VC. This is a workaround while we're investigating why they're disabled.
2025-10-24 12:25:56 +02:00
47abdf7cd0 Add zstd to build scripts
Add zstd to build scripts
2025-09-05 15:28:49 +02:00
c8ee2afd36 Update docs
Removed old information from docs and updated script snippets to be
easily copyable for user experience.
2025-07-22 14:31:04 +02:00
49dd7c3bd5 Aligned LLVM version in verification builds with current production. 2025-05-22 17:00:12 +02:00
f13266aaa6 Documentation update
Documentation update integrating community suggestions

- https://github.com/intel/intel-graphics-compiler/issues/295
- https://github.com/intel/intel-graphics-compiler/pull/300
- https://github.com/intel/intel-graphics-compiler/pull/298
- https://github.com/intel/intel-graphics-compiler/issues/309
- https://github.com/intel/intel-graphics-compiler/pull/317

Co-authored-by: Rohan Udupa <86579136+lab596@users.noreply.github.com>
Co-authored-by: Mustafa Uzun <mustafauzun0@gmail.com>
Co-authored-by: Sasank Chilamkurthy <sasank@von-neumann.ai>
2024-05-08 13:02:18 +02:00
b077b43fa6 Fix github action build
Fixed dependency isses in github actions
2024-02-08 17:05:47 +01:00
d20c5a10a3 Add ocloc lit tests
Add ocloc lit tests
2023-07-10 09:13:38 +02:00
ca387ba1be Switch IGC to LLVM 14
Upgrade the default LLVM version, build instructions and build verification
actions.
2023-05-23 13:04:33 +02:00
aadeaaad54 Build ubuntu documentation update
Updated the build ubuntu documentation regarding recent building update.
Additionally corrected some typos and rephrased some expressions.
2022-12-30 12:15:21 +01:00
dc8a296aa1 Add LLVM 15 build to public Github Actions
Verify IGC buildability with LLVM 15 via GH actions. Now that API
compability has been achieved, update the documentation accordingly.
2022-12-14 16:40:47 +01:00
0a2dbb5dca Add LLVM 14 build to GitHub Actions CI
Now that we are API-compatible with LLVM 14, update the CI workflow and the
documentation accordingly.
2022-07-11 12:57:30 +02:00
205e9c3def Addnotation about SPIRV-Tools prebuild
Add addnotation about SPIRV-Tools prebuild to the file build_ubuntu.md
Untill the issue
https://github.com/KhronosGroup/SPIRV-Tools/issues/3909 will not be
resolved, we support only SPIRV_Tools as a shared lib, and we encurage
to build SPIRV-Tools prebuild with SPIRV_TOOLS_BUILD_STATIC=OFF flag.
2022-06-13 12:45:54 +02:00
9d30fa46cd Do not build Spirv Translator if OpenCL-Clang is from system
OpenCL Clang and Vector Compiler share the library Spirv Translator, so we
cannot build Spriv Translator if OpenCL Clang is not built from the source.
2022-04-25 13:28:55 +02:00
86a854d3aa Fix missprint in prebuild option name
Remove accidentally added commit message
2022-03-07 09:49:33 +01:00
d790a8f857 Add SPIRV-Tools prebuild support
Add option to use preinstalled SPIRV-Headers
2022-03-04 10:34:13 +01:00
d5e0b30a61 Changing readme to reflect new status of spirvdll
Now downloading of llvm-spirv when building from prebuilts not required
2021-12-15 11:41:44 +01:00
57de69c785 Enable SPIR-V Tools in Release config
Enable SPIR-V Tools in Release config
2021-10-06 09:10:50 +02:00
271d771281 Fix Ubuntu build instruction
Fix llvm version in Revision table
2021-09-15 14:42:20 +02:00
373592d5c2 Set LLVM 11 as the default version
IGC now fully supports building against LLVM 11.
Updated `build_ubuntu.md` documentation to use LLVM 11 components.
2021-08-30 13:45:28 +02:00
8880ba2577 Correct build-instructions and fix buildbreak.
Fixes #186
2021-07-14 16:39:39 +02:00
9dc33135d8 update copyright headers in Source/IGC_OpenSourceFiles 2021-05-23 12:48:13 +02:00
be5c26737e Fix Ubuntu build instruction 2021-04-28 16:52:44 +02:00
8de7045c14 Redesign LLVM flags in llvm.cmake
Use one variable for mode selection instead of
three different. Make modes mutually exclusive.
Move system LLVM mode to suboption of prebuilds mode.
2021-04-13 12:50:51 +02:00
7d610212e1 Change travis and documentation to use top-level cmake 2021-04-07 15:19:55 +02:00
c51c68facf Clean up main LLVM cmake lists
Remove packaging code. Remove unneeded code.
Separate one file into several.
2021-04-01 07:04:30 +02:00
f3c64272e7 copyright headers in documentation 2021-03-22 13:16:58 +01:00
4aa4a5684b clean-up for llvm_patcher 2021-02-09 20:24:10 +01:00
d2e5d3570f Removed external dependency on llvm_patches and improved llvm setup in project 2021-02-08 16:04:16 +01:00
0aebb7d0e9 Updated information about LLVM versions in build_ubuntu.md document. (#80) 2020-11-05 12:07:42 +00:00
723e356ad0 Simplifying building workspace/instruction.
Change-Id: Icc8e5301ddaab2e8e2d2d94cfb93237a18de364d
2020-10-27 05:04:06 -07:00
c5621c75a6 Fix building for LLVM11
With this commit and this workspace setup:
llvm-project : 0b56e5490dc33e4e7a4fdd837e642f72a2659189
llvm-spirv : 73dfc6d450ad0438558bee20505c426319f7624b
opencl-clang : 05133d9fb4e08b8d3251d6484a3bf2da4c4f62ed
vc-intrinsics : c8c52b5fb14b33e32de9df573b7de186a0c97c94
llvm-patches : c4a03454d55ed786138128bfd73fba491b31ca7c

We are able to build IGC library based on LLVM11

Change-Id: Ic7e92aa50fd93d1f06bad648614bfd7a44b71a96
2020-09-23 02:50:49 -07:00
0249ca914f Improve SPIRV build system to support many folders: 9, 10, 11
Update OS description

Change-Id: I573b4b08b697d3afeccd09afe7b95ccdfa39fdd8
2020-09-21 09:24:14 -07:00
98172d8b61 Fix build documentation.
Change-Id: Icee0859e1ec3f1371ac0f9152aca0814c2015dff
2020-08-03 06:32:34 -07:00
77059f3210 Update OS build instructions
Add dependencies required by Vector Compiler and update build procedure.

Change-Id: Ifacf91aa1d9fce4c28eaa621fd1606c0084d06f8
2020-07-30 12:11:16 -07:00
24f57804ec Update README.md and build_ubuntu.md with GEN12 and LLVM10 information
Change-Id: Ie23f05904d435efb1d18e74b44e18f1df47908e9
2020-02-27 08:22:56 -08:00
46c3df0c17 Sync change
Change-Id: I90c28b999f541ea24bc68f65447f136b5d5d5348
2019-10-02 03:00:50 -07:00
d03df0dd44 Corrected paths in build instructions
Change-Id: I60c0cd7d3e07ce6df320d74fd743ff7adb249bff
2019-09-03 01:05:10 -07:00
525c701560 Switch to official llvm sources.
Change-Id: Ibf12f93bdbcd6398f974ce24e967de13ec934523
2019-09-02 12:14:05 -07:00
25af2bf649 Update README.md and documentation.
Change-Id: I34f4d080afe167e377b0e9f08f4a508bdd04894f
2019-06-07 02:32:19 -07:00