• Home
  • Raw
  • Download

Lines Matching +full:create +full:- +full:release

17 To use CMake you must first configure the build. Create a build directory in
22 # Create a build directory
28 # x86-64 using a Visual Studio solution
29 cmake -G "Visual Studio 16 2019" -T ClangCL -DCMAKE_INSTALL_PREFIX=..\ ^
30 -DASTCENC_ISA_AVX2=ON -DASTCENC_ISA_SSE41=ON -DASTCENC_ISA_SSE2=ON ..
32 # x86-64 using NMake
33 cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=..\ ^
34 -DASTCENC_ISA_AVX2=ON -DASTCENC_ISA_SSE41=ON -DASTCENC_ISA_SSE2=ON ..
42 Using the Visual Studio Clang-CL LLVM toolchain (`-T ClangCL`) is optional but
66 To use CMake you must first configure the build. Create a build directory
74 # Create a build directory
81 cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../ \
82 -DASTCENC_ISA_NEON=ON ..
84 # x86-64
85 cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../ \
86 -DASTCENC_ISA_AVX2=ON -DASTCENC_ISA_SSE41=ON -DASTCENC_ISA_SSE2=ON ..
89 cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../ ..
101 build, but single-target binaries can still be built by setting
102 `-DASTCENC_UNIVERSAL_BINARY=OFF` and then manually selecting the specific ISA
114 make install -j16
124 To use CMake you must first configure the build. Create a build directory
129 # Create a build directory
134 cmake -G Xcode -DCMAKE_INSTALL_PREFIX=../ ..
143 cmake --build . --config Release
146 cmake --install . --config Release
159 | ---------------- | -------------------------------------------------------- |
160 | Release | Optimized release build |
161 | RelWithDebInfo | Optimized release build with debug info |
164 Note that optimized release builds are compiled with link-time optimization,
170 option `-DASTCENC_SHAREDLIB=ON` at configure time. For macOS build targets the
182 by adding `-DASTCENC_BLOCK_MAX_TEXELS=<texel_count>` to to CMake command line
186 ### Non-invariant builds
189 revision will produce bit-identical results for all compilers and CPU
191 not required you can specify `-DASTCENC_INVARIANCE=OFF` to enable additional
199 development purposes it is possible to build an intrinsic-free build which uses
200 no explicit SIMD acceleration (the compiler may still auto-vectorize).
202 To enable this binary variant add `-DASTCENC_ISA_NONE=ON` to the CMake command
217 To build unit tests add `-DASTCENC_UNITTEST=ON` to the CMake command line when
225 ctest --verbose
231 supports it. To build binaries with ASAN checking enabled add `-DASTCENC_ASAN=ON`
244 ANDROID_ABI=arm64-v8a
251 mkdir -p ${BUILD_DIR}
255 -DCMAKE_INSTALL_PREFIX=./ \
256 -DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
257 -DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK}/build/cmake/android.toolchain.cmake \
258 -DANDROID_ABI=${ANDROID_ABI} \
259 -DANDROID_ARM_NEON=ON \
260 -DANDROID_PLATFORM=android-21 \
261 -DCMAKE_ANDROID_NDK_TOOLCHAIN_VERSION=clang \
262 -DANDROID_TOOLCHAIN=clang \
263 -DANDROID_STL=c++_static \
264 -DARCH=aarch64 \
265 -DASTCENC_ISA_NEON=ON \
268 make -j16
271 ## Packaging a release bundle
273 We support building a release bundle of all enabled binary configurations in
278 * `-DASTCENC_PACAKGE=<arch>` to set the package architecture/variant name used
282 # Run a build and package build outputs in `./astcenc-<ver>-<os>-<arch>.<fmt>`
284 make package -j16
298 - - -
300 _Copyright © 2019-2023, Arm Limited and contributors. All rights reserved._