File: README.md

package info (click to toggle)
intel-graphics-compiler2 2.16.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 106,644 kB
  • sloc: cpp: 805,640; lisp: 287,672; ansic: 16,414; python: 3,952; yacc: 2,588; lex: 1,666; pascal: 313; sh: 186; makefile: 35
file content (45 lines) | stat: -rw-r--r-- 1,218 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!---======================= begin_copyright_notice ============================

Copyright (C) 2020-2021 Intel Corporation

SPDX-License-Identifier: MIT

============================= end_copyright_notice ==========================-->

# ZE Binary Utilitis

### Prerequisite
Visaul Studio version >= 2019 <br>
CMake version >= 3.8

### Build
Export *LLVM_DIR* to directory path which contains _LLVMConfig.cmake_

    export LLVM_DIR=${PATH_to_LLVMConfig.cmake}

Create a build directory _${BUILD}_ and run

    cd ${BUILD}
    cmake ${ZEBinaryUtility_SOURCE}
    cmake --build .

### Build on Visual Studio
In windows command prompt:

Set LLVM_DIR to directory path contains *LLVMConfig.cmake*

    set LLVM_DIR=${PATH_to_LLVMConfig.cmake}

Create VS project files:

    cmake -G "Visual Studio 16 2019" ${ZEBinaryUtility_SOURCE}

Open the VS solution ZEBinaryUtilities.sln

The **C++ CMake tools for Windows** package is required.
Refer to [CMake projects in Visual Studio](https://docs.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio?view=vs-2019)
for the istallation instructions.

### Usage
**ZEInfoReader.exe** [options]  <_input file_>
  * -info      :Dump .ze_info section into ze_info.dump file