Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 69F2B200CB0 for ; Fri, 9 Jun 2017 00:09:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 68B11160BE7; Thu, 8 Jun 2017 22:09:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AD904160BD5 for ; Fri, 9 Jun 2017 00:09:21 +0200 (CEST) Received: (qmail 17670 invoked by uid 500); 8 Jun 2017 22:09:20 -0000 Mailing-List: contact reviews-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: reviews@mesos.apache.org Delivered-To: mailing list reviews@mesos.apache.org Received: (qmail 17659 invoked by uid 99); 8 Jun 2017 22:09:20 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jun 2017 22:09:20 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 459DA1809A1; Thu, 8 Jun 2017 22:09:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3 X-Spam-Level: *** X-Spam-Status: No, score=3 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id aVklNcZrPwdg; Thu, 8 Jun 2017 22:09:18 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 18EDB5F2A9; Thu, 8 Jun 2017 22:09:18 +0000 (UTC) Received: from reviews.apache.org (unknown [10.41.0.12]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 733CAE012F; Thu, 8 Jun 2017 22:09:17 +0000 (UTC) Received: from reviews-vm2.apache.org (localhost [IPv6:::1]) by reviews.apache.org (ASF Mail Server at reviews-vm2.apache.org) with ESMTP id 683E5C400C0; Thu, 8 Jun 2017 22:09:17 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============1582602534651152436==" MIME-Version: 1.0 Subject: Re: Review Request 59782: Windows: Fixed curl build. From: Andrew Schwartzmeyer To: Li Li , Joseph Wu , Jeff Coffler Cc: mesos Date: Thu, 08 Jun 2017 22:09:17 -0000 Message-ID: <20170608220917.1777.80224@reviews-vm2.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Andrew Schwartzmeyer X-ReviewGroup: mesos X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/59782/ X-Sender: Andrew Schwartzmeyer References: <20170608211738.1778.13622@reviews-vm2.apache.org> In-Reply-To: <20170608211738.1778.13622@reviews-vm2.apache.org> Reply-To: Andrew Schwartzmeyer X-ReviewRequest-Repository: mesos archived-at: Thu, 08 Jun 2017 22:09:22 -0000 --===============1582602534651152436== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > On June 8, 2017, 9:17 p.m., Joseph Wu wrote: > > cmake/CompilationConfigure.cmake > > Lines 225-227 (patched) > > > > > > This was guarded in the other file, but why not here? > > > > Also, `curl.h` is only included in `stout/include/stout/net.hpp` at the moment, so it doesn't seem too hard to just address this TODO now. > > Joseph Wu wrote: > Oh, I see that the flag was guarded in a later review: https://reviews.apache.org/r/59787/ > > Second question still stands though. > This was guarded in the other file, but why not here? I must have messed up when rebasing, it should be guarded here too. > Also, curl.h is only included in stout/include/stout/net.hpp at the moment, so it doesn't seem too hard to just address this TODO now. Problem is that there is no `STOUT_CXX_FLAGS` since stout is just a bunch of headers we include willy-nilly... and this being CMake, the build system has no knowledge of who is using which header. Not saying this can't be done, but I gave it a go and decided to leave a TODO after failing ;) - Andrew ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/59782/#review177381 ----------------------------------------------------------- On June 3, 2017, 7:33 p.m., Andrew Schwartzmeyer wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/59782/ > ----------------------------------------------------------- > > (Updated June 3, 2017, 7:33 p.m.) > > > Review request for mesos, Jeff Coffler, Joseph Wu, and Li Li. > > > Bugs: MESOS-6814 and MESOS-7618 > https://issues.apache.org/jira/browse/MESOS-6814 > https://issues.apache.org/jira/browse/MESOS-7618 > > > Repository: mesos > > > Description > ------- > > Instead of calling `msbuild` with hard-coded arguments, this instead > uses the forwarded CMake arguments, and automatic `ExternalProject_Add` > build. > > The `-DCURL_STATIC_LIB` must be defined here so that every target which > includes `glog.h` has the proper configuration. > > > Diffs > ----- > > 3rdparty/CMakeLists.txt 96022ffaab94cfdfa3af0cadcfefc0c6518a6f6f > cmake/CompilationConfigure.cmake a0032a35d5c02cc6e7a5e90c187dae4954879f95 > > > Diff: https://reviews.apache.org/r/59782/diff/1/ > > > Testing > ------- > > > Thanks, > > Andrew Schwartzmeyer > > --===============1582602534651152436==--