Commit Graph

82 Commits

Author SHA1 Message Date
Chris Djali
6340ba901a
Document that the only supported dependency commits are the ones in known_good.json 2024-02-19 11:26:07 -05:00
Juan Ramos
3b99124593 Add GLSLANG_TESTS option
1 variable instead of ENABLE_CTEST and BUILD_TESTING.

OFF by default. See README.md for explanation.
2023-12-01 13:43:54 -05:00
Juan Ramos
6be56e45e5 Remove OGLCompiler and HLSL stub libraries from build
Fixes ranlib warnings complaining about empty archive libraries.

Simplifie build/code.
2023-11-29 08:20:27 -05:00
Juan Ramos
1a370bede9
cmake: Remove OVERRIDE_MSVCCRT
CMake 3.15 removes the need for all of this custom code.
2023-11-22 16:44:30 -05:00
Juan Ramos
302a663a38 Use googletest version 1.14.0 2023-10-31 16:47:37 -04:00
Joyce
4e7ccd4af5 Add badge to README.md
Signed-off-by: Joyce <joycebrum@google.com>
2023-08-21 12:34:22 -06:00
Nathaniel Cesario
c5117b328a Fix CI build badge
Replaces the appveyor build (which is no longer used) with a badge
pointing to the continuous_integration.yml job status.
2023-08-18 14:36:47 -06:00
Nathaniel Cesario
bfd96d3044 Add emscripten build to CI
Adds a build-only (no test) job for testing the emscripten (web) build
on github actions.
2023-08-02 16:43:05 -06:00
Arcady Goldmints-Orlov
54726b3c1c Remove glslang.m4
The m4 grammar build mechanism was only ever needed as a preprocessor
for bison, to be used with GLSLANG_WEB, which has now been removed.

Fixes #2958
2023-07-28 15:14:48 -06:00
dan sinclair
d291b15911
Remove GLSLANG_WEB and GLSLANG_WEB_DEVEL
This CL removes the GLSLANG_WEB and GLSLANG_WEB_DEVEL
cmake build options and their usage in the codebase.

Issue #2958
2023-07-28 11:49:10 -06:00
Nathaniel Cesario
856e280502 cmake: Rename glslang to glslangValidator
Rename glslangValidator to glslang and adds a glslangValidator symlink
to the build and install directories.

Closes #47.
2023-07-18 15:23:50 -06:00
Nathaniel Cesario
eaa7057768 Fix C example in README
Remove the usage of C++ STL types in the C-only interface example.

Fixes #3239.
2023-07-07 16:33:08 -04:00
Jeremy Hayes
0094e47972 Fix outdated cmake conditional
Remove cmake condition. The minimum is 3.14. The condition is no longer
required.

C++17 is now required. Update the landing page.
2023-03-16 10:05:58 -06:00
Jeremy Hayes
58d302cfa2 Rename master to main and update news
Update CI and README to reflect rename.
Update News:
    * Notify users of rename.
    * Update minimum required VS compiler to 2019.
    * Remove notice about versioning. This has been completed.
    * Remove notice about SPIRV folder relocation. It has been 2.5 years
    since this occured.
2023-01-30 15:31:05 -07:00
Jeremy Hayes
51813b65e9 Update readme with upcoming branch rename 2023-01-20 09:34:34 -07:00
Sergey Kosarevsky
7801230069 Add a new C interface example to README.md 2022-05-23 21:36:32 -07:00
Gerry Fan
24e69505bd Change ANDROID_NDK_ROOT to ANDROID_NDK_HOME in README.md 2022-04-13 17:08:51 +00:00
Edoardo Luciani
5a41eb318f
Update README.md 2022-03-26 15:26:46 +00:00
Jeremy Hayes
2b3309aab6 Remove unnecessary badge
I had copy/pasted this badge without really thinking about it's
usefulness. It is unnecessary.
2021-12-01 11:40:11 -07:00
Jeremy Hayes
509a39212d Migrate travis to github actions 2021-11-22 15:57:03 -07:00
Greg Fischer
4f074aed75 Update README to avoid googletest breakage
Additional fix for #2480
2020-12-11 11:27:09 -07:00
Ben Clayton
0f52e7ef12 Fix GN build and presubmits
Add missing `.cfg` files for GN presubmit.
Add missing `recursedeps` in the `DEPS` file.
Call `./update_glslang_sources.py` before attempting to build.
Add more GN spew to the `.gitignore` file.
2020-10-21 15:49:08 +01:00
Ben Clayton
f915cc2b2b Add GN build instructions to README.md 2020-10-16 14:26:05 +01:00
Rémi Verschelde
69d0c1acc2
Remove executable bits from code/data files (#2420) 2020-10-12 10:08:47 -06:00
johnkslang
23f3bdfea1 Build/Test: Dropping 2013 allows using the latest googletests.
These have a new spelling: INSTANTIATE_TEST_CASE_P -> INSTANTIATE_TEST_SUITE_P
2020-08-05 11:07:07 -06:00
Ben Clayton
c487d0feaa Drop support for VS2013
This was scheduled for today - 20th July 2020.

Updates Appveyor configs to use VS2015 instead.
2020-07-20 18:50:06 +01:00
John Kessenich
adacba3ee9
Update README.md 2020-06-22 01:44:53 -06:00
John Kessenich
0cc27fb68c Update news for header location change and recommendation. 2020-06-01 23:24:37 -06:00
dan sinclair
f15982ebeb
Remove install to the SPIRV/ folder. (#2256)
This CL updates the build scripts to only install to glslang/SPIRV
instead of also installing to the SPIRV/ folder. The deprecation notice
is also removed.

Note, this may cause downstream build issues if include directories have
not been updated

Fixes #1964 #2216
2020-06-01 23:21:03 -06:00
John Kessenich
bcf6a2430e Move to SPIR-V 1.5 Rev. 3, bump revision, remove a status from README. 2020-04-27 02:12:05 -06:00
John Kessenich
1b57332746
Note about Build Status. 2020-04-24 12:01:14 -06:00
Kai Ninomiya
817d0f63d3 update README 2020-03-23 12:50:33 -07:00
Spencer Fricke
442f561ad5 Add Android build instructions to README 2020-03-04 15:33:59 -08:00
John Kessenich
c6a4c6d3d8
Improve formatting. 2020-03-04 00:15:20 -07:00
John Kessenich
c40c4bc38a
Add "news" section and component status.
Includes an additional deprecation and rationalizing the beginning sections.
2020-03-04 00:07:50 -07:00
wangli28
717264316a Add vcpkg installation instructions 2020-02-28 06:41:58 +00:00
Kai Ninomiya
5166bc1859 Split "is emscripten" config from "enable glslang.js"
This should enable glslang to be used as a dependency of other projects
that target WebAssembly, instead of assuming "EMSCRIPTEN" => "Want
glslang.js".
2020-02-06 14:06:20 -08:00
John Kessenich
3ed344dd78 Fix #2059, and also attempt to skip test bots [skip ci] 2020-01-16 00:52:28 -07:00
Ian Romanick
9216e8cf16 Update README.md to include other test requirements
Knowing this in advance would have saved me some time.
2019-12-02 10:53:46 -08:00
dan sinclair
af7c73b1c3 Add deprecation for SPIRV/ install folder location.
This Cl updates the README.md to reference the deprecation date for the
current SPIRV/ install location.

Issue #1964
2019-11-06 09:50:40 -05:00
Xottab_DUTY
3c8b4daabd
Fixed typo in README.md 2019-10-12 16:23:54 +05:00
John Kessenich
d0848b72fa
Merge branch 'master' into separate-web-and-emscripten 2019-09-18 01:55:12 -06:00
Kai Ninomiya
4391924ac5 Separate GLSLANG_WEB (min-size build) and Emscripten options
Allows building non-min-size builds with Emscripten.
Adds ENABLE_GLSLANG_WEB_DEVEL.
Moves the glslang.js files to OSDependent/Web.
Small cleanups and docs update.
2019-09-17 23:18:03 -07:00
John Kessenich
e0932f676d README: Fix WASM typos. 2019-09-18 00:17:31 -06:00
John Kessenich
df1d4ccf5f ESSL/SPV: Fix #1856: Allow ESSL shaders to compile to OpenGL SPIR-V. 2019-08-28 02:51:38 -06:00
John Kessenich
efd47a8fae Documentation: Provide more detail in setting up the environment. 2019-08-28 02:25:26 -06:00
John Kessenich
369ffa9543 web: Fix accidental additon of refract() prototypes and update README. 2019-08-21 07:54:27 -06:00
Ryan Harrison
734176a25c Move build instructions to README.md 2019-08-09 10:32:47 -04:00
John Kessenich
6fef1ca6f9 Latest known-good SPIRV-Tools: WARNING: Needs python 3.x.
You may need to install python 3.x and also
[windows users] may need to get it in your path in front of python 2.7.x.

If you don't need the external projects (i.e., SPIRV-Tools) and don't want
to upgrade to python 3, don't create the External subdirectory and CMake
won't require python 3.  (CMake has a bug that makes it find the wrong one
on a first pass if the top level does not require the version needed by
lower levels.)
2019-05-09 10:11:54 -06:00
John Kessenich
00054da5e6 Infrastructure: Fix .gitattributes typo eof -> eol. Also update README
Add to README: git config --global core.fileMode false
2018-12-10 16:54:58 -07:00