Lines Matching +full:ninja +full:- +full:linux
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
35 For Android add `;target_os=['android'];` to your Linux .gclient
47 target_os = ["android", "linux"];
54 …files for your environment using gyp (Windows: Visual Studio, OSX: XCode, Linux: make). This gener…
65 call gn gen out/Release "--args=is_debug=false target_cpu=\"x86\""
66 call gn gen out/Debug "--args=is_debug=true target_cpu=\"x86\""
67 ninja -v -C out/Release
68 ninja -v -C out/Debug
70 call gn gen out/Release "--args=is_debug=false target_cpu=\"x64\""
71 call gn gen out/Debug "--args=is_debug=true target_cpu=\"x64\""
72 ninja -v -C out/Release
73 ninja -v -C out/Debug
75 #### Building with clang-cl
80 …call gn gen out/Release "--args=is_debug=false is_official_build=false is_clang=true target_cpu=\"…
81 …call gn gen out/Debug "--args=is_debug=true is_official_build=false is_clang=true target_cpu=\"x86…
82 ninja -v -C out/Release
83 ninja -v -C out/Debug
85 …call gn gen out/Release "--args=is_debug=false is_official_build=false is_clang=true target_cpu=\"…
86 …call gn gen out/Debug "--args=is_debug=true is_official_build=false is_clang=true target_cpu=\"x64…
87 ninja -v -C out/Release
88 ninja -v -C out/Debug
90 ### macOS and Linux
92 gn gen out/Release "--args=is_debug=false"
93 gn gen out/Debug "--args=is_debug=true"
94 ninja -v -C out/Release
95 ninja -v -C out/Debug
99 gn gen out/Official "--args=is_debug=false is_official_build=true is_chrome_branded=true"
100 ninja -C out/Official
103 http://www.chromium.org/developers/how-tos/build-instructions-ios
109 …gn gen out/Release "--args=is_debug=false target_os=\"ios\" ios_enable_code_signing=false target_c…
110 …gn gen out/Debug "--args=is_debug=true target_os=\"ios\" ios_enable_code_signing=false target_cpu=…
111 ninja -v -C out/Debug libyuv_unittest
112 ninja -v -C out/Release libyuv_unittest
116 …gn gen out/Release "--args=is_debug=false target_os=\"ios\" ios_enable_code_signing=false target_c…
117 …gn gen out/Debug "--args=is_debug=true target_os=\"ios\" ios_enable_code_signing=false target_cpu=…
118 ninja -v -C out/Debug libyuv_unittest
119 ninja -v -C out/Release libyuv_unittest
128 gn gen out/Release "--args=is_debug=false target_os=\"android\" target_cpu=\"arm\""
129 gn gen out/Debug "--args=is_debug=true target_os=\"android\" target_cpu=\"arm\""
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=\"arm64\""
136 gn gen out/Debug "--args=is_debug=true target_os=\"android\" target_cpu=\"arm64\""
137 ninja -v -C out/Debug libyuv_unittest
138 ninja -v -C out/Release libyuv_unittest
142 gn gen out/Release "--args=is_debug=false target_os=\"android\" target_cpu=\"x86\""
143 gn gen out/Debug "--args=is_debug=true target_os=\"android\" target_cpu=\"x86\""
144 ninja -v -C out/Debug libyuv_unittest
145 ninja -v -C out/Release libyuv_unittest
149 …gn gen out/Release "--args=is_debug=false target_os=\"android\" target_cpu=\"mipsel\" mips_arch_va…
150 …gn gen out/Debug "--args=is_debug=true target_os=\"android\" target_cpu=\"mipsel\" mips_arch_varia…
151 ninja -v -C out/Debug libyuv_unittest
152 ninja -v -C out/Release libyuv_unittest
154 …gn gen out/Release "--args=is_debug=false target_os=\"android\" target_cpu=\"mips64el\" mips_arch_…
155 …gn gen out/Debug "--args=is_debug=true target_os=\"android\" target_cpu=\"mips64el\" mips_arch_var…
156 ninja -v -C out/Debug libyuv_unittest
157 ninja -v -C out/Release libyuv_unittest
161 …y/android_tools/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-a…
163 …y/android_tools/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-a…
165 …y/android_tools/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-a…
169 … build/android/test_runner.py gtest -s libyuv_unittest -t 7200 --verbose --release --gtest_filter=*
173 …-s libyuv_unittest -t 7200 --verbose --release --gtest_filter=* -a "--libyuv_width=1280 --libyuv_h…
177 …st -s libyuv_unittest -t 7200 --verbose --release --gtest_filter=* -a "--libyuv_width=1280 --libyu…
181 ninja -C out/Debug libyuv
182 ninja -C out/Debug libyuv_unittest
183 ninja -C out/Debug compare
184 ninja -C out/Debug convert
185 ninja -C out/Debug psnr
186 ninja -C out/Debug cpuid
188 ### ARM Linux
190 gn gen out/Release "--args=is_debug=false target_cpu=\"arm64\""
191 gn gen out/Debug "--args=is_debug=true target_cpu=\"arm64\""
192 ninja -v -C out/Debug libyuv_unittest
193 ninja -v -C out/Release libyuv_unittest
197 ### Linux subsection
199 make V=1 -f linux.mk
200 make V=1 -f linux.mk clean
201 make V=1 -f linux.mk CXX=clang++
212 cmake --build .
218 cmake -DCMAKE_INSTALL_PREFIX="/usr/lib" -DCMAKE_BUILD_TYPE="Release" ..
219 cmake --build . --config Release
220 sudo cmake --build . --target install --config Release
226 cmake -DCMAKE_BUILD_TYPE=Release ..
227 make -j4
232 See also https://www.ccoderun.ca/programming/2015-12-20_CrossCompiling/index.html
234 sudo apt-get install ssh dkms build-essential linux-headers-generic
235 sudo apt-get install kdevelop cmake git subversion
236 sudo apt-get install graphviz doxygen doxygen-gui
237 sudo apt-get install manpages manpages-dev manpages-posix manpages-posix-dev
238 sudo apt-get install libboost-all-dev libboost-dev libssl-dev
239 sudo apt-get install rpm terminator fish
240 sudo apt-get install g++-arm-linux-gnueabihf gcc-arm-linux-gnueabihf
245 arm-linux-gnueabihf-g++ psnr_main.cc psnr.cc ssim.cc -o psnr
246 arm-linux-gnueabihf-objdump -d psnr
252 out\Release\libyuv_unittest.exe --gtest_catch_exceptions=0 --gtest_filter="*"
256 out/Release/libyuv_unittest --gtest_filter="*"
258 ### Linux subsection
260 out/Release/libyuv_unittest --gtest_filter="*"
262 Replace --gtest_filter="*" with specific unittest to run. May include wildcards. e.g.
264 out/Release/libyuv_unittest --gtest_filter=*I420ToARGB_Opt
270 Pre-requisite: Install IntelSDE: http://software.intel.com/en-us/articles/intel-software-developmen…
274 c:\intelsde\sde -hsw -- out\Release\libyuv_unittest.exe --gtest_filter=*
276 ~/intelsde/sde -skx -- out/Release/libyuv_unittest --gtest_filter=**I420ToARGB_Opt
280 gn gen out/Debug "--args=is_debug=true is_asan=true"
281 ninja -v -C out/Debug
287 Pre-requisite: Install Dr Memory for Windows and add it to your path: http://www.drmemory.org/docs/…
289 drmemory out\Debug\libyuv_unittest.exe --gtest_catch_exceptions=0 --gtest_filter=*