diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2014-09-01 18:05:45 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2014-09-01 18:05:45 -0600 |
| commit | fd5b87e1b7ffef26582fe28515aaa8e11ae92b9c (patch) | |
| tree | e83cd96660d93fcae1e8bf1609f28b83bc531c44 | |
| parent | ee93a530493915e0923f871e50452e23d2f4eff2 (diff) | |
| download | usermoji-fd5b87e1b7ffef26582fe28515aaa8e11ae92b9c.tar.xz | |
xgl: Add build instructions
| -rw-r--r-- | BUILD.md | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/BUILD.md b/BUILD.md new file mode 100644 index 00000000..deb9c580 --- /dev/null +++ b/BUILD.md @@ -0,0 +1,36 @@ +The XGL Sample Intel driver supports Linux. + +System Requirements +=================== + +Ubuntu 13.10, Ubuntu 14.04 LTS +gcc +drm + + +BUILD +===== + +The sample driver users cmake and should work with the usual cmake options and utilities. +The standard build process builds the icd, the icd loader and all the tests. + +Example debug build: +cd xgl # cd to the root of the xgl git repository +cmake -H. -Bdbuild -DCMAKE_BUILD_TYPE=Debug +cd dbuild +make + +To run XGL programs you must tell the icd loader where to find the libraries. Set the +environment variable LIBXGL_DRIVERS_PATH to the driver path. For example: +> export LIBXGL_DRIVERS_PATH=~/xgl/dbuild/icd/intel + +TEST +==== + +The test executibles can be found in the build/tests directory. The tests use the Google +gtest infrastructure. Tests avilable so far: +- xglinfo: Report GPU properties +- xglbase: Test basic entry points +- xgl_image_tests: Test XGL image related calls needed by render_test +- xgl_render_tests: Render a single triangle with XGL. Triangle will be in a .ppm in +the current directory at the end of the test. |
