You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -74,6 +74,7 @@ Build the Intel(R) SGX SDK and Intel(R) SGX PSW Package
74
74
```
75
75
$ sudo yum update binutils
76
76
```
77
+
**Note**: To build Intel(R) SGX SDK, gcc version is required to be 7.3 or above and glibc version is required to be 2.27 or above. For Ubuntu 16.04, Red Hat Enterprise Linux 7.4, CentOS 7.5, Fedora 27, SUSE Linux Enterprise Server 12, you may need to update gcc and glibc version.
77
78
- Use the following command to install additional required tools and latest Intel(R) SGX SDK Installer to build the Intel(R) SGX PSW:
78
79
1) To install the additional required tools:
79
80
* On Ubuntu 16.04 and Ubuntu 18.04:
@@ -101,13 +102,18 @@ Build the Intel(R) SGX SDK and Intel(R) SGX PSW Package
101
102
$ ./download_prebuilt.sh
102
103
```
103
104
105
+
- Copy the mitigation tools from external/toolset to /usr/local/bin and make sure they have execute permission:
### Build the Intel(R) SGX SDK and Intel(R) SGX SDK Installer
105
112
- To build Intel(R) SGX SDK with default configuration, enter the following command:
106
113
```
107
114
$ make sdk
108
115
```
109
-
You can find the tools and libraries generated in the `build/linux` directory.
110
-
**Note**: You can also go to the `sdk` folder and use the `make` command to build the Intel(R) SGX SDK component only.
116
+
You can find the three flavors of tools and libraries generated in the `build` directory.
111
117
112
118
- This repository supports to build the Intel(R) SGX SDK with below three combinations:
113
119
* `USE_OPT_LIBS=0` --- build SDK using SGXSSL and open sourced String/Math
@@ -123,6 +129,7 @@ You can find the tools and libraries generated in the `build/linux` directory.
123
129
```
124
130
$ make sdk DEBUG=1
125
131
```
132
+
126
133
- To clean the files generated by previous `make sdk` command, enter the following command:
127
134
```
128
135
$ make clean
@@ -135,7 +142,7 @@ You can find the generated Intel(R) SGX SDK installer ``sgx_linux_x64_sdk_${vers
135
142
136
143
**Note**: The above command builds the Intel(R) SGX SDK with default configuration firstly and then generates the target SDK Installer. To build the Intel(R) SGX SDK Installer with debug information kept in the tools and libraries, enter the following command:
137
144
```
138
-
$ make sdk_install_pkg DEBUG=1
145
+
$ make sdk_install_pkg DEBUG=1
139
146
```
140
147
141
148
### Build the Intel(R) SGX PSW and Intel(R) SGX PSW Installer
0 commit comments