To download sources, run:
- python external/fetch_sources.py
+ python3 external/fetch_sources.py
You may need to re-run `fetch_sources.py` to update to the latest glslang,
vulkan-docs and spirv-tools revisions occasionally.
You also need to install lxml python module by running:
- python -m pip install lxml
+ python3 -m pip install lxml
With CMake out-of-source builds are always recommended. Create a build directory
of your choosing, and in that directory generate Makefiles or IDE project
Following command will build dEQP.apk:
- python scripts/android/build_apk.py --sdk <path to Android SDK> --ndk <path to Android NDK>
+ python3 scripts/android/build_apk.py --sdk <path to Android SDK> --ndk <path to Android NDK>
By default the CTS package will be built for the Android API level 28.
Another API level may be supplied using --native-api command line option.
The package can be installed by either running:
- python scripts/android/install_apk.py
+ python3 scripts/android/install_apk.py
By default the CTS package will contain libdeqp.so built for armeabi-v7a, arm64-v8a,
x86, and x86_64 ABIs, but that can be changed at build time by passing the --abis command line
Vulkan CTS mustpass can be re-generated by running:
- python <vulkancts>/external/vulkancts/scripts/build_mustpass.py
+ python3 <vulkancts>/external/vulkancts/scripts/build_mustpass.py
Running CTS