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
Copy file name to clipboardExpand all lines: BUILD.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,14 +11,20 @@ GPUPerfAPI no longer uses git submodules to reference dependent repositories. In
11
11
order to clone/update any dependent repositories.
12
12
13
13
#### Prerequisites
14
-
*This step requires that python be installed on the system. Python can be installed from https://www.python.org/
14
+
* Python, which can be installed from https://www.python.org/
15
15
16
16
#### Instructions
17
17
* Simply execute the [UpdateCommon.py](Scripts/UpdateCommon.py) python script located in the [Scripts](Scripts) directory:
18
18
*`python Scripts/UpdateCommon.py`
19
-
This script will clone any dependent repositories that are not present on the system. If any of the dependent repositories are already
19
+
*This script will clone any dependent repositories that are not present on the system. If any of the dependent repositories are already
20
20
present on the system, this script will instead do a "git pull" on those repositories to ensure that they are up to date. Please re-run
21
21
this script everytime you pull new changes from GPA repository.
22
+
* This script will also download and execute the Vulkan SDK installer.
23
+
* On Windows, running the installer may require elevation. If you've previously installed the required Vulkan version, UpdateCommon will simply copy the files form the default installation location into the correct place into the GPUPerfAPI directory tree.
24
+
* UpdateCommon is set up to install the version of the Vulkan SDK which was used during development. If you want to use a newer version of the SDK, the following files will need to be updated:
@@ -192,14 +210,14 @@ for SUBDIR in $BUILD_DIRS; do
192
210
#make 64 bit
193
211
echo"Build ${BASENAME}, 64-bit..."| tee -a $LOGFILE
194
212
195
-
if! make -C $SUBDIR -j$CPU_COUNT$HSA_DIR_OVERRIDE$GTEST_LIB_DIR_OVERRIDE"$ADDITIONAL_COMPILER_DEFINES_OVERRIDE"${MAKE_TARGET}>>$LOGFILE2>&1;then
213
+
if! make -C $SUBDIR -j$CPU_COUNT$HSA_DIR_OVERRIDE$VK_INC_DIR_OVERRIDE$GTEST_LIB_DIR_OVERRIDE"$ADDITIONAL_COMPILER_DEFINES_OVERRIDE"${MAKE_TARGET}>>$LOGFILE2>&1;then
196
214
echo"Failed to build ${BASENAME}, 64 bit"
197
215
exit 1
198
216
fi
199
217
200
218
#make 64 bit Internal
201
219
if$bBuildInternal;then
202
-
if! make -C $SUBDIR -j$CPU_COUNT$HSA_DIR_OVERRIDE$GTEST_LIB_DIR_OVERRIDE"$ADDITIONAL_COMPILER_DEFINES_OVERRIDE"${MAKE_TARGET}Internal >>$LOGFILE2>&1;then
220
+
if! make -C $SUBDIR -j$CPU_COUNT$HSA_DIR_OVERRIDE$VK_INC_DIR_OVERRIDE$GTEST_LIB_DIR_OVERRIDE"$ADDITIONAL_COMPILER_DEFINES_OVERRIDE"${MAKE_TARGET}Internal >>$LOGFILE2>&1;then
203
221
echo"Failed to build ${BASENAME}, 64 bit, Internal"
204
222
exit 1
205
223
fi
@@ -210,14 +228,14 @@ for SUBDIR in $BUILD_DIRS; do
210
228
#make 32 bit
211
229
echo"Build ${BASENAME}, 32-bit..."| tee -a $LOGFILE
212
230
213
-
if! make -C $SUBDIR -j$CPU_COUNT$HSA_DIR_OVERRIDE$GTEST_LIB_DIR_OVERRIDE32"$ADDITIONAL_COMPILER_DEFINES_OVERRIDE"${MAKE_TARGET}x86 >>$LOGFILE2>&1;then
231
+
if! make -C $SUBDIR -j$CPU_COUNT$HSA_DIR_OVERRIDE$VK_INC_DIR_OVERRIDE$GTEST_LIB_DIR_OVERRIDE32"$ADDITIONAL_COMPILER_DEFINES_OVERRIDE"${MAKE_TARGET}x86 >>$LOGFILE2>&1;then
214
232
echo"Failed to build ${BASENAME}, 32 bit"
215
233
exit 1
216
234
fi
217
235
218
236
#make 32 bit Internal
219
237
if$bBuildInternal;then
220
-
if! make -C $SUBDIR -j$CPU_COUNT$HSA_DIR_OVERRIDE$GTEST_LIB_DIR_OVERRIDE32"$ADDITIONAL_COMPILER_DEFINES_OVERRIDE"${MAKE_TARGET}Internalx86 >>$LOGFILE2>&1;then
238
+
if! make -C $SUBDIR -j$CPU_COUNT$HSA_DIR_OVERRIDE$VK_INC_DIR_OVERRIDE$GTEST_LIB_DIR_OVERRIDE32"$ADDITIONAL_COMPILER_DEFINES_OVERRIDE"${MAKE_TARGET}Internalx86 >>$LOGFILE2>&1;then
221
239
echo"Failed to build ${BASENAME}, 32 bit, Internal"
0 commit comments