Alexey Serbin has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/13884 )

Change subject: KUDU-2897 Making the -mavx2 flag contingent on the architecture 
rather than the OS alone
......................................................................

KUDU-2897 Making the -mavx2 flag contingent on the architecture rather than the 
OS alone

Earlier, we would use the -mavx2 flag if the OS was UNIX based. However, the 
flag is only
usable if the underlying CPU architecture supports it. I have added a check to 
do that.
The following commit has been tested on x86 and ARM processors - one supporting 
AVX2 and
the other does not. Both were running LINUX.

Change-Id: Ica8c7553cec1fc851685c4a10750e90b3e892500
Reviewed-on: http://gerrit.cloudera.org:8080/13884
Reviewed-by: Todd Lipcon <[email protected]>
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <[email protected]>
---
M thirdparty/build-definitions.sh
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Todd Lipcon: Looks good to me, approved
  Kudu Jenkins: Verified
  Alexey Serbin: Looks good to me, approved

--
To view, visit http://gerrit.cloudera.org:8080/13884
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ica8c7553cec1fc851685c4a10750e90b3e892500
Gerrit-Change-Number: 13884
Gerrit-PatchSet: 3
Gerrit-Owner: Ritwik Yadav <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Ritwik Yadav <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to