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

Issue 1339033002: generate_gypi.sh: --disable-avx and --only-config flags (Closed)

Created:
5 years, 3 months ago by kjellander_chromium
Modified:
5 years, 3 months ago
Reviewers:
wwcv, Johann
CC:
chromium-reviews, wwcv, jzern, fgalligan1, Tom Finegan
Base URL:
https://chromium.googlesource.com/chromium/deps/libvpx@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

generate_gypi.sh: --disable-avx and --only-config flags Add two flags to make the script more flexible: --disable-avx: do not generate AVX and AVX2 sources. --only-configs: only generate configuration header (i.e. no GN or GYP files). TESTED=Ran: ./generate_gypi.sh and verified nothing changed in the checkout. ./generate_gypi.sh --disable-avx and verified AVX was disabled. ./generate_gypi.sh --only-configs with a modified .gypi and verified it was not overwritten. R=johannkoenig@google.com Committed: https://chromium.googlesource.com/chromium/deps/libvpx/+/46b04d71b9d97d2719c0d93937b049a6f72cfde1

Patch Set 1 #

Total comments: 14

Patch Set 2 : Properly exclude AVX2 functions (run with --disable-avx) #

Total comments: 1

Patch Set 3 : Review comments addressed, restored result of run without any flags #

Total comments: 2

Patch Set 4 : Rebased and removed edits to source/libvpx/vpx_dsp/vpx_dsp_rtcd_defs.pl #

Patch Set 5 : Final touches #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -65 lines) Patch
M generate_gypi.sh View 1 2 3 4 9 chunks +91 lines, -65 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
kjellander_chromium
Would you be OK with adding something like this to the script? It doesn't change ...
5 years, 3 months ago (2015-09-14 09:57:28 UTC) #2
kjellander_chromium
So, it turns out that for PS#1 there are still AVX2 functions in the configuration ...
5 years, 3 months ago (2015-09-14 12:43:21 UTC) #3
Johann
On 2015/09/14 12:43:21, kjellander (chromium) wrote: > So, it turns out that for PS#1 there ...
5 years, 3 months ago (2015-09-14 17:17:48 UTC) #4
Johann
some options. generally looks fine https://codereview.chromium.org/1339033002/diff/1/generate_gypi.sh File generate_gypi.sh (right): https://codereview.chromium.org/1339033002/diff/1/generate_gypi.sh#newcode25 generate_gypi.sh:25: maybe unset DISABLE_AVX? https://codereview.chromium.org/1339033002/diff/1/generate_gypi.sh#newcode30 ...
5 years, 3 months ago (2015-09-14 17:24:04 UTC) #6
kjellander_chromium
Thanks for the quick turnaround. PTAL @ PS#3. https://codereview.chromium.org/1339033002/diff/1/generate_gypi.sh File generate_gypi.sh (right): https://codereview.chromium.org/1339033002/diff/1/generate_gypi.sh#newcode25 generate_gypi.sh:25: On ...
5 years, 3 months ago (2015-09-14 18:38:21 UTC) #7
Johann
https://codereview.chromium.org/1339033002/diff/40001/source/libvpx/vpx_dsp/vpx_dsp_rtcd_defs.pl File source/libvpx/vpx_dsp/vpx_dsp_rtcd_defs.pl (right): https://codereview.chromium.org/1339033002/diff/40001/source/libvpx/vpx_dsp/vpx_dsp_rtcd_defs.pl#newcode15 source/libvpx/vpx_dsp/vpx_dsp_rtcd_defs.pl:15: $avx2 = ''; this shouldn't be necessary anymore? although ...
5 years, 3 months ago (2015-09-14 18:51:02 UTC) #8
Johann
fyi I just landed something in DEPS so you should rebase, but I didn't touch ...
5 years, 3 months ago (2015-09-14 19:07:18 UTC) #9
kjellander_chromium
Now rebased and simpler. PTAL. https://codereview.chromium.org/1339033002/diff/40001/source/libvpx/vpx_dsp/vpx_dsp_rtcd_defs.pl File source/libvpx/vpx_dsp/vpx_dsp_rtcd_defs.pl (right): https://codereview.chromium.org/1339033002/diff/40001/source/libvpx/vpx_dsp/vpx_dsp_rtcd_defs.pl#newcode15 source/libvpx/vpx_dsp/vpx_dsp_rtcd_defs.pl:15: $avx2 = ''; On ...
5 years, 3 months ago (2015-09-14 19:40:45 UTC) #10
chromium-reviews
LGTM thanks for the follow ups! To unsubscribe from this group and stop receiving emails ...
5 years, 3 months ago (2015-09-14 20:01:33 UTC) #11
kjellander_chromium
On 2015/09/14 20:01:33, chromium-reviews wrote: > LGTM thanks for the follow ups! > > To ...
5 years, 3 months ago (2015-09-14 20:04:30 UTC) #12
Johann
On 2015/09/14 20:04:30, kjellander (chromium) wrote: > On 2015/09/14 20:01:33, chromium-reviews wrote: > > LGTM ...
5 years, 3 months ago (2015-09-14 20:47:17 UTC) #13
kjellander_chromium
5 years, 3 months ago (2015-09-15 09:28:48 UTC) #14
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
46b04d71b9d97d2719c0d93937b049a6f72cfde1 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698