• Home
  • Raw
  • Download

Lines Matching +full:cross +full:- +full:ios +full:- +full:build

3 How to get and build the libyuv code.
5 ## Pre-requisites
7 …need to have depot tools installed: https://www.chromium.org/developers/how-tos/install-depot-tools
14 gclient config --name src https://chromium.googlesource.com/libyuv/libyuv
30 For iOS add `;target_os=['ios'];` to your OSX .gclient and run `gclient sync.`
62 call gn gen out\Release "--args=is_debug=false target_cpu=\"x64\""
63 call gn gen out\Debug "--args=is_debug=true target_cpu=\"x64\""
64 ninja -v -C out\Release
65 ninja -v -C out\Debug
67 call gn gen out\Release "--args=is_debug=false target_cpu=\"x86\""
68 call gn gen out\Debug "--args=is_debug=true target_cpu=\"x86\""
69 ninja -v -C out\Release
70 ninja -v -C out\Debug
74 gn gen out/Release "--args=is_debug=false"
75 gn gen out/Debug "--args=is_debug=true"
76 ninja -v -C out/Release
77 ninja -v -C out/Debug
81 gn gen out/Official "--args=is_debug=false is_official_build=true is_chrome_branded=true"
82 ninja -C out/Official
84 ### iOS subsection
85 http://www.chromium.org/developers/how-tos/build-instructions-ios
87 Add to .gclient last line: `target_os=['ios'];`
91 …gn gen out/Release "--args=is_debug=false target_os=\"ios\" ios_enable_code_signing=false target_c…
92 …gn gen out/Debug "--args=is_debug=true target_os=\"ios\" ios_enable_code_signing=false target_cpu=…
93 ninja -v -C out/Debug libyuv_unittest
94 ninja -v -C out/Release libyuv_unittest
96 ios simulator
98 …gn gen out/Release "--args=is_debug=false target_os=\"ios\" ios_enable_code_signing=false use_xcod…
99 …gn gen out/Debug "--args=is_debug=true target_os=\"ios\" ios_enable_code_signing=false use_xcode_c…
100 ninja -v -C out/Debug libyuv_unittest
101 ninja -v -C out/Release libyuv_unittest
103 ios disassembly
105 otool -tV ./out/Release/obj/libyuv_neon/row_neon64.o >row_neon64.txt
114 gn gen out/Release "--args=is_debug=false target_os=\"android\" target_cpu=\"arm64\""
115 gn gen out/Debug "--args=is_debug=true target_os=\"android\" target_cpu=\"arm64\""
116 ninja -v -C out/Debug libyuv_unittest
117 ninja -v -C out/Release libyuv_unittest
121 gn gen out/Release "--args=is_debug=false target_os=\"android\" target_cpu=\"arm\""
122 gn gen out/Debug "--args=is_debug=true target_os=\"android\" target_cpu=\"arm\""
123 ninja -v -C out/Debug libyuv_unittest
124 ninja -v -C out/Release libyuv_unittest
128 gn gen out/Release "--args=is_debug=false target_os=\"android\" target_cpu=\"x86\""
129 gn gen out/Debug "--args=is_debug=true target_os=\"android\" target_cpu=\"x86\""
130 ninja -v -C out/Debug libyuv_unittest
131 ninja -v -C out/Release libyuv_unittest
135 …gn gen out/Release "--args=is_debug=false target_os=\"android\" target_cpu=\"mips64el\" mips_arch_…
136 …gn gen out/Debug "--args=is_debug=true target_os=\"android\" target_cpu=\"mips64el\" mips_arch_var…
137 ninja -v -C out/Debug libyuv_unittest
138 ninja -v -C out/Release libyuv_unittest
142 …d_party/android_ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-a…
144 …d_party/android_ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-a…
146 …d_party/android_ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-a…
148 Caveat: Disassembly may require optimize_max be disabled in BUILD.gn
152 out/Release/bin/run_libyuv_unittest -vv --gtest_filter=*
156 …_libyuv_unittest -vv --gtest_filter=* --libyuv_width=1280 --libyuv_height=720 --libyuv_repeat=999
160 …e/bin/run_libyuv_unittest -vv --gtest_filter=* --libyuv_width=1280 --libyuv_height=720 --libyuv_re…
162 ### Build targets
164 ninja -C out/Debug libyuv
165 ninja -C out/Debug libyuv_unittest
166 ninja -C out/Debug compare
167 ninja -C out/Debug yuvconvert
168 ninja -C out/Debug psnr
169 ninja -C out/Debug cpuid
173 gn gen out/Release "--args=is_debug=false target_cpu=\"arm64\""
174 gn gen out/Debug "--args=is_debug=true target_cpu=\"arm64\""
175 ninja -v -C out/Debug libyuv_unittest
176 ninja -v -C out/Release libyuv_unittest
182 …gn gen out/Release "--args=is_debug=false target_os=\"linux\" target_cpu=\"mips64el\" mips_arch_va…
183 …gn gen out/Debug "--args=is_debug=true target_os=\"linux\" target_cpu=\"mips64el\" mips_arch_varia…
184 ninja -v -C out/Debug libyuv_unittest
185 ninja -v -C out/Release libyuv_unittest
191 make V=1 -f linux.mk
192 make V=1 -f linux.mk clean
193 make V=1 -f linux.mk CXX=clang++
199 ### Default debug build:
204 cmake --build .
206 ### Release build/install
210 cmake -DCMAKE_INSTALL_PREFIX="/usr/lib" -DCMAKE_BUILD_TYPE="Release" ..
211 cmake --build . --config Release
212 sudo cmake --build . --target install --config Release
214 ### Build RPM/DEB packages
218 cmake -DCMAKE_BUILD_TYPE=Release ..
219 make -j4
222 ## Setup for Arm Cross compile
224 See also https://www.ccoderun.ca/programming/2015-12-20_CrossCompiling/index.html
226 sudo apt-get install ssh dkms build-essential linux-headers-generic
227 sudo apt-get install kdevelop cmake git subversion
228 sudo apt-get install graphviz doxygen doxygen-gui
229 sudo apt-get install manpages manpages-dev manpages-posix manpages-posix-dev
230 sudo apt-get install libboost-all-dev libboost-dev libssl-dev
231 sudo apt-get install rpm terminator fish
232 sudo apt-get install g++-arm-linux-gnueabihf gcc-arm-linux-gnueabihf
234 ### Build psnr tool
237 arm-linux-gnueabihf-g++ psnr_main.cc psnr.cc ssim.cc -o psnr
238 arm-linux-gnueabihf-objdump -d psnr
244 out\Release\libyuv_unittest.exe --gtest_catch_exceptions=0 --gtest_filter="*"
248 out/Release/libyuv_unittest --gtest_filter="*"
250 Replace --gtest_filter="*" with specific unittest to run. May include wildcards.
251 out/Release/libyuv_unittest --gtest_filter=*I420ToARGB_Opt
257 Pre-requisite: Install IntelSDE: http://software.intel.com/en-us/articles/intel-software-developmen…
261 c:\intelsde\sde -hsw -- out\Release\libyuv_unittest.exe --gtest_filter=*
263 ~/intelsde/sde -skx -- out/Release/libyuv_unittest --gtest_filter=**I420ToARGB_Opt
270 Build the code as usual, then run iaca on the object file.
271 ~/iaca-lin64/bin/iaca.sh -reduceout -arch HSW out/Release/obj/libyuv_internal/compare_gcc.o
275 gn gen out/Release "--args=is_debug=false is_msan=true"
276 ninja -v -C out/Release
282 Pre-requisite: Install Dr Memory for Windows and add it to your path: http://www.drmemory.org/docs/…
284 drmemory out\Debug\libyuv_unittest.exe --gtest_catch_exceptions=0 --gtest_filter=*