Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Side by Side Diff: docs/getting_started.md

Issue 2285683002: Add MIPS SIMD Arch (MSA) optimized MirrorRow function (Closed)
Patch Set: Changes as per review comments Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Getting Started 1 # Getting Started
2 2
3 How to get and build the libyuv code. 3 How to get and build the libyuv code.
4 4
5 ## Pre-requisites 5 ## Pre-requisites
6 6
7 You'll need to have depot tools installed: https://www.chromium.org/developers/h ow-tos/install-depot-tools 7 You'll need to have depot tools installed: https://www.chromium.org/developers/h ow-tos/install-depot-tools
8 Refer to chromium instructions for each platform for other prerequisites. 8 Refer to chromium instructions for each platform for other prerequisites.
9 9
10 ## Getting the Code 10 ## Getting the Code
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 153
154 GYP_DEFINES="OS=android target_arch=ia32" GYP_CROSSCOMPILE=1 ./gyp_libyuv 154 GYP_DEFINES="OS=android target_arch=ia32" GYP_CROSSCOMPILE=1 ./gyp_libyuv
155 ninja -j7 -C out/Debug yuv_unittest_apk 155 ninja -j7 -C out/Debug yuv_unittest_apk
156 ninja -j7 -C out/Release yuv_unittest_apk 156 ninja -j7 -C out/Release yuv_unittest_apk
157 157
158 GYP_DEFINES="OS=android target_arch=ia32 android_full_debug=1" GYP_CROSSCOMP ILE=1 ./gyp_libyuv 158 GYP_DEFINES="OS=android target_arch=ia32 android_full_debug=1" GYP_CROSSCOMP ILE=1 ./gyp_libyuv
159 ninja -j7 -C out/Debug yuv_unittest_apk 159 ninja -j7 -C out/Debug yuv_unittest_apk
160 160
161 mipsel 161 mipsel
162 162
163 GYP_DEFINES="OS=android target_arch=mipsel" GYP_CROSSCOMPILE=1 ./gyp_libyuv 163 GYP_DEFINES="OS=android target_arch=mipsel mips_msa=0" GYP_CROSSCOMPILE=1 ./ gyp_libyuv
164 ninja -j7 -C out/Debug yuv_unittest_apk 164 ninja -j7 -C out/Debug yuv_unittest_apk
165 ninja -j7 -C out/Release yuv_unittest_apk 165 ninja -j7 -C out/Release yuv_unittest_apk
166 166
167 mips64el
168
169 GYP_DEFINES="OS=android target_arch=mips64el mips_msa=0" GYP_CROSSCOMPILE=1 ./gyp_libyuv
fbarchard1 2016/09/14 01:48:04 good, but caveat that we're migrating from GYP to
manojkumar.bhosale 2016/09/14 12:45:29 OK. Reverting this change
170 ninja -j7 -C out/Debug yuv_unittest_apk
171 ninja -j7 -C out/Release yuv_unittest_apk
172
167 arm32 disassembly: 173 arm32 disassembly:
168 174
169 third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/ linux-x86_64/bin/arm-linux-androideabi-objdump -d out/Release/obj/source/libyuv. row_neon.o 175 third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/ linux-x86_64/bin/arm-linux-androideabi-objdump -d out/Release/obj/source/libyuv. row_neon.o
170 176
171 arm64 disassembly: 177 arm64 disassembly:
172 178
173 third_party/android_tools/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/ linux-x86_64/bin/aarch64-linux-android-objdump -d out/Release/obj/source/libyuv. row_neon64.o 179 third_party/android_tools/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/ linux-x86_64/bin/aarch64-linux-android-objdump -d out/Release/obj/source/libyuv. row_neon64.o
174 180
175 Running tests: 181 Running tests:
176 182
(...skipping 12 matching lines...) Expand all
189 gn gen out/Release "--args=is_debug=false target_cpu=\"x86\"" 195 gn gen out/Release "--args=is_debug=false target_cpu=\"x86\""
190 gn gen out/Debug "--args=is_debug=true target_cpu=\"x86\"" 196 gn gen out/Debug "--args=is_debug=true target_cpu=\"x86\""
191 ninja -C out/Release 197 ninja -C out/Release
192 ninja -C out/Debug 198 ninja -C out/Debug
193 199
194 ### Building Offical with GN 200 ### Building Offical with GN
195 201
196 gn gen out/Official "--args=is_debug=false is_official_build=true is_chrome_ branded=true" 202 gn gen out/Official "--args=is_debug=false is_official_build=true is_chrome_ branded=true"
197 ninja -C out/Official 203 ninja -C out/Official
198 204
205 #### Building mips with GN
206
207 mipsel
208 gn gen out/Default "--args=is_debug=false target_cpu=\"mipsel\" target_os = \"android\" mips_arch_variant = \"r6\" mips_use_msa = true is_component_build = true is_clang = false"
209 ninja -C out/Default
210
211 mips64el
212 gn gen out/Default "--args=is_debug=false target_cpu=\"mips64el\" target_os = \"android\" mips_arch_variant = \"r6\" mips_use_msa = true is_component_build = true is_clang = false"
213 ninja -C out/Default
214
215
199 ### Linux 216 ### Linux
200 217
201 GYP_DEFINES="target_arch=x64" ./gyp_libyuv 218 GYP_DEFINES="target_arch=x64" ./gyp_libyuv
202 ninja -j7 -C out/Debug 219 ninja -j7 -C out/Debug
203 ninja -j7 -C out/Release 220 ninja -j7 -C out/Release
204 221
205 GYP_DEFINES="target_arch=ia32" ./gyp_libyuv 222 GYP_DEFINES="target_arch=ia32" ./gyp_libyuv
206 ninja -j7 -C out/Debug 223 ninja -j7 -C out/Debug
207 ninja -j7 -C out/Release 224 ninja -j7 -C out/Release
208 225
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 git checkout -b mycl -t origin/master 439 git checkout -b mycl -t origin/master
423 git pull 440 git pull
424 <edit files> 441 <edit files>
425 git add -u 442 git add -u
426 git commit -m "my change" 443 git commit -m "my change"
427 git cl lint 444 git cl lint
428 git cl try 445 git cl try
429 git cl upload -r a-reviewer@chomium.org -s 446 git cl upload -r a-reviewer@chomium.org -s
430 <once approved..> 447 <once approved..>
431 git cl land 448 git cl land
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698