From owner-svn-ports-all@freebsd.org Thu Oct 5 19:36:04 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92D6CE40A33; Thu, 5 Oct 2017 19:36:04 +0000 (UTC) (envelope-from ashish@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6891883BF2; Thu, 5 Oct 2017 19:36:04 +0000 (UTC) (envelope-from ashish@FreeBSD.org) Received: from chateau.d.if (unknown [127.0.1.132]) by freefall.freebsd.org (Postfix) with ESMTP id 89BF81618D; Thu, 5 Oct 2017 19:36:02 +0000 (UTC) (envelope-from ashish@FreeBSD.org) Subject: Re: svn commit: r451116 - in head/lang/sagittarius-scheme: . files To: Jan Beich Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org References: <201710030826.v938Q6dt022417@repo.freebsd.org> From: Ashish SHUKLA Organization: The FreeBSD Project Message-ID: <875e583e-418b-c26e-0495-87a852548eea@FreeBSD.org> Date: Fri, 6 Oct 2017 01:05:57 +0530 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IvSfw4LcUg68oF7QpTDVdGHAXqEQBCBpA" X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 19:36:04 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --IvSfw4LcUg68oF7QpTDVdGHAXqEQBCBpA Content-Type: multipart/mixed; boundary="lGb0uqXdAEHRFdbDVEEHuLvrGICFvltk6"; protected-headers="v1" From: Ashish SHUKLA To: Jan Beich Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Message-ID: <875e583e-418b-c26e-0495-87a852548eea@FreeBSD.org> Subject: Re: svn commit: r451116 - in head/lang/sagittarius-scheme: . files References: <201710030826.v938Q6dt022417@repo.freebsd.org> In-Reply-To: --lGb0uqXdAEHRFdbDVEEHuLvrGICFvltk6 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 10/03/2017 15:35, Jan Beich wrote: > Ashish SHUKLA writes: >=20 >> Author: ashish >> Date: Tue Oct 3 08:26:06 2017 >> New Revision: 451116 >> URL: https://svnweb.freebsd.org/changeset/ports/451116 >> >> Log: >> - Update to 0.8.7 >> - Add SIMD option (off by default) to control compilation with SIMD >> flags >> - Add program to generate cpuinfo required for SIMD support detectio= n > [...] >> ++ ELSEIF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") >> ++ EXEC_PROGRAM(%%CPUID%% OUTPUT_VARIABLE CPUINFO) >> ++ >> ++ STRING(REGEX REPLACE "^.*,(SSE2).*$" "\\1" SSE_THERE ${CPUINFO}= ) >> ++ STRING(COMPARE EQUAL "SSE2" "${SSE_THERE}" SSE2_TRUE) >> ++ IF (SSE2_TRUE) >> ++ set(SSE2_FOUND true CACHE BOOL "SSE2 available on host") >> ++ ELSE (SSE2_TRUE) >> ++ set(SSE2_FOUND false CACHE BOOL "SSE2 available on host") >> ++ ENDIF (SSE2_TRUE) > [...] >> IF (USE_SSE) >> IF (SSE2_FOUND) >> SET(CMAKE_C_FLAGS "-msse2 ${CMAKE_C_FLAGS}") >> SET(CMAKE_CXX_FLAGS "-msse2 ${CMAKE_CXX_FLAGS}") >> ENDIF() >=20 > Given the lack of __SSE*__ guards in the source -m* flags look like a > cargo cult optimization or a verbose way to say CFLAGS +=3D -march=3Dna= tive. > For one, users with CPUTYPE set via make.conf already have -march=3D wh= ich > enables -m* flags supported by the specific CPU. >=20 Indeed, although I'm here just trying to fix, what upstream author was expecting. Thanks! --=20 Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 --lGb0uqXdAEHRFdbDVEEHuLvrGICFvltk6-- --IvSfw4LcUg68oF7QpTDVdGHAXqEQBCBpA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE9oLNzDncD+rhFiC2x0bPqedPpLAFAlnWiaEACgkQx0bPqedP pLAvxQ//dwGsm01NUVYYmaWDhokKXQBQGbHTStuVtVgGv7rI1IPAWCrtRWHTQ4Ik aX+rWnTE1OlRs8IUg0huzoD2NzPGPop7SoOgPIcMH3siDHVK2oJlNsiO2S2orpvK PE070WmUwG4NK+QhgW9xhHkBYXt5Gg+Ik4KVLJzPLk4KDBse7iqpc06PiM3GkVkd iF352gfjSUQgchX1q7+E1DfDCLCNLT1GGNBBNFrxUx6L5uBi82j1VFx21SEhkfRN SX5EmLd8UghUBmRMJfoeM4em23Ky7vF0yqYe/CBrJz0vqlgxvG3J/luYUoM0aZzE MctEbyPQbjCsDrjosc54rMw5Z9Xa9igo209H3D+vtKh567+pSJRp3Hc8htJpEHJt vHxx3TjFI9Q4cmg0ut9C9ebNt+I2rty1QGZq/+r9DBrYzEzS+WV3Ddh1FcNPF5jP uSaCB8poVIv/L0APsqo4+P/u5dJFU/Agru2gjYBpBBzy9HFL02mEIvobnM93qkt6 Ja7tqcvBSorVCu2o8rh5JEI15Tj/7nAvg2ae3lMSSCKzuyjjQl9Ukcyy6D9ySEK1 5Q/PKaHbC2bAOy4DCWmbfL/B4vXRhipA6EP1/uPvvkQN0KRfUJwv43GlrkcEpotm zRaUlFW9zahTmSAXhTZxhUhz6CxJFfdIkgxEKQ6EH2227B95F2Y= =ExZ/ -----END PGP SIGNATURE----- --IvSfw4LcUg68oF7QpTDVdGHAXqEQBCBpA--