Changeset 254227 in webkit


Ignore:
Timestamp:
Jan 8, 2020 2:20:24 PM (4 years ago)
Author:
mark.lam@apple.com
Message:

Rename testing build configuration to release+assert, and add new testing build configuration.
https://bugs.webkit.org/show_bug.cgi?id=205954

Reviewed by Yusuke Suzuki.

.:

"make release-assert" builds a release build with ASSERT_ENABLED=1.
"make testing" builds a debug build with clang optimization level forced to -O3.

  • Makefile:
  • Makefile.shared:
  • Source/Makefile:

Source/ThirdParty:

  • Makefile:

Tools:

Added a --force-opt shortcut for the --force-optimization-level option of
set-webkit-configuration. This makes it less painful to type this on the command
line for those of us who would like to use this option often in our local builds.

  • Makefile:
  • Scripts/set-webkit-configuration:

WebKitLibraries:

  • Makefile:
Location:
trunk
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r254219 r254227  
     12020-01-08  Mark Lam  <mark.lam@apple.com>
     2
     3        Rename testing build configuration to release+assert, and add new testing build configuration.
     4        https://bugs.webkit.org/show_bug.cgi?id=205954
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        "make release-assert" builds a release build with ASSERT_ENABLED=1.
     9        "make testing" builds a debug build with clang optimization level forced to -O3.
     10
     11        * Makefile:
     12        * Makefile.shared:
     13        * Source/Makefile:
     14
    1152020-01-08  Keith Miller  <keith_miller@apple.com>
    216
  • trunk/Makefile

    r254181 r254227  
    1313        if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done
    1414
     15release+assert ra:
     16        @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
     17        if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done
     18
    1519testing t:
    1620        @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
  • trunk/Makefile.shared

    r254219 r254227  
    102102        ( $(SET_COLOR_DIAGNOSTICS_ARG); xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | $(OUTPUT_FILTER) && exit $${PIPESTATUS[0]} )
    103103
    104 testing t: force
     104release+assert ra: force
    105105        $(SCRIPTS_PATH)/set-webkit-configuration --release $(ASAN_OPTION) $(WK_LTO_OPTION)
    106106        ( $(SET_COLOR_DIAGNOSTICS_ARG); xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) GCC_PREPROCESSOR_DEFINITIONS='ASSERT_ENABLED=1 $$(inherited)' | $(OUTPUT_FILTER) && exit $${PIPESTATUS[0]} )
     107
     108testing t: force
     109        $(SCRIPTS_PATH)/set-webkit-configuration --debug $(ASAN_OPTION) $(WK_LTO_OPTION) --force-optimization-level=O3
     110        ( $(SET_COLOR_DIAGNOSTICS_ARG); xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | $(OUTPUT_FILTER) && exit $${PIPESTATUS[0]} )
    107111
    108112analyze:
  • trunk/Source/Makefile

    r254181 r254227  
    2323        if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done
    2424
     25release+assert ra:
     26        @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
     27        if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done
     28
    2529testing t:
    2630        @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
  • trunk/Source/ThirdParty/ChangeLog

    r254181 r254227  
     12020-01-08  Mark Lam  <mark.lam@apple.com>
     2
     3        Rename testing build configuration to release+assert, and add new testing build configuration.
     4        https://bugs.webkit.org/show_bug.cgi?id=205954
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        * Makefile:
     9
    1102020-01-07  Keith Miller  <keith_miller@apple.com>
    211
  • trunk/Source/ThirdParty/Makefile

    r254181 r254227  
    3737        if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done
    3838
     39release+assert ra:
     40        @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
     41        if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done
     42
    3943testing t:
    4044        @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
  • trunk/Tools/ChangeLog

    r254225 r254227  
     12020-01-08  Mark Lam  <mark.lam@apple.com>
     2
     3        Rename testing build configuration to release+assert, and add new testing build configuration.
     4        https://bugs.webkit.org/show_bug.cgi?id=205954
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        Added a --force-opt shortcut for the --force-optimization-level option of
     9        set-webkit-configuration.  This makes it less painful to type this on the command
     10        line for those of us who would like to use this option often in our local builds.
     11
     12        * Makefile:
     13        * Scripts/set-webkit-configuration:
     14
    1152020-01-08  Matt Lewis  <jlewis3@apple.com>
    216
  • trunk/Tools/Makefile

    r254219 r254227  
    3333        if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done
    3434
     35release+assert ra:
     36        @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
     37        if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done
     38
    3539testing t:
    3640        @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
  • trunk/Tools/Scripts/set-webkit-configuration

    r254080 r254227  
    5555}
    5656my $forceOptimizationLevel;
    57 if (!checkForArgumentAndRemoveFromARGVGettingValue("--force-optimization-level", \$forceOptimizationLevel)) {
     57if (!checkForArgumentAndRemoveFromARGVGettingValue("--force-optimization-level", \$forceOptimizationLevel)
     58    && !checkForArgumentAndRemoveFromARGVGettingValue("--force-opt", \$forceOptimizationLevel)) {
    5859    $forceOptimizationLevel="";
    5960}
  • trunk/WebKitLibraries/ChangeLog

    r254181 r254227  
     12020-01-08  Mark Lam  <mark.lam@apple.com>
     2
     3        Rename testing build configuration to release+assert, and add new testing build configuration.
     4        https://bugs.webkit.org/show_bug.cgi?id=205954
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        * Makefile:
     9
    1102020-01-07  Keith Miller  <keith_miller@apple.com>
    211
  • trunk/WebKitLibraries/Makefile

    r254181 r254227  
    2323        @$(MAKE) libs
    2424
     25release+assert ra:
     26        $(SCRIPTS_PATH)/set-webkit-configuration --release
     27        @$(MAKE) libs
     28
    2529testing t:
    26         $(SCRIPTS_PATH)/set-webkit-configuration --release
     30        $(SCRIPTS_PATH)/set-webkit-configuration --debug --force-optimization-level=O3
    2731        @$(MAKE) libs
    2832
Note: See TracChangeset for help on using the changeset viewer.