WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
116899
[CMAKE] cmake errors when CMAKE_BUILD_TYPE is not specified.
https://bugs.webkit.org/show_bug.cgi?id=116899
Summary
[CMAKE] cmake errors when CMAKE_BUILD_TYPE is not specified.
Ryuan Choi
Reported
2013-05-28 16:21:39 PDT
Find command in cmake returns -1 when it fails. But, -1 is also true expression of if statement.
Attachments
Patch
(1.43 KB, patch)
2013-05-28 16:26 PDT
,
Ryuan Choi
no flags
Details
Formatted Diff
Diff
Patch
(1.52 KB, patch)
2013-05-28 22:46 PDT
,
Ryuan Choi
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from webkit-ews-10 for mac-mountainlion-wk2
(535.82 KB, application/zip)
2013-05-29 06:31 PDT
,
Build Bot
no flags
Details
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Ryuan Choi
Comment 1
2013-05-28 16:26:55 PDT
Created
attachment 203105
[details]
Patch
Laszlo Gombos
Comment 2
2013-05-28 19:43:31 PDT
Comment on
attachment 203105
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=203105&action=review
> Source/WebCore/CMakeLists.txt:2550 > string(FIND ${_CXXFLAGS_VARNAME} "-O3" _CXXFLAGS_HAS_O3)
If FIND returns and index and not a boolean, than _CXXFLAGS_HAS_O3 is poorly named. Perhaps _CXXFLAGS_O3_INDEX ?
> Source/WebCore/CMakeLists.txt:2551 > + if (NOT _CXXFLAGS_HAS_O3 EQUAL -1)
I find (_CXXFLAGS_O3_INDEX > -1) easier to read.
Ryuan Choi
Comment 3
2013-05-28 22:46:54 PDT
Created
attachment 203121
[details]
Patch
Laszlo Gombos
Comment 4
2013-05-29 06:19:24 PDT
Comment on
attachment 203121
[details]
Patch r=me.
Build Bot
Comment 5
2013-05-29 06:31:37 PDT
Comment on
attachment 203121
[details]
Patch
Attachment 203121
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/696275
New failing tests: fast/dom/location-new-window-no-crash.html
Build Bot
Comment 6
2013-05-29 06:31:39 PDT
Created
attachment 203192
[details]
Archive of layout-test-results from webkit-ews-10 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-10 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.3
Ryuan Choi
Comment 7
2013-05-29 18:19:52 PDT
Committed
r150940
: <
http://trac.webkit.org/changeset/150940
>
Ryuan Choi
Comment 8
2013-05-29 18:20:50 PDT
Comment on
attachment 203121
[details]
Patch Thanks. Clearding flags after manually landed. Because this is for fixing cmake script, layout tests are not related.
Csaba Osztrogonác
Comment 9
2013-06-02 13:03:43 PDT
One more fix landed in
https://trac.webkit.org/changeset/151083
Ryuan Choi
Comment 10
2013-10-23 18:38:20 PDT
(In reply to
comment #9
)
> One more fix landed in
https://trac.webkit.org/changeset/151083
With
r151083
, I have another build break. CMake Error at Source/WebCore/CMakeLists.txt:2533 (string): string sub-command FIND requires 3 or 4 parameters.
Ryuan Choi
Comment 11
2013-10-23 21:17:31 PDT
(In reply to
comment #10
)
> (In reply to
comment #9
) > > One more fix landed in
https://trac.webkit.org/changeset/151083
> > With
r151083
, I have another build break. > > CMake Error at Source/WebCore/CMakeLists.txt:2533 (string): > string sub-command FIND requires 3 or 4 parameters.
This issue will be fixed in
http://trac.webkit.org/changeset/157911
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug