mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 08:20:31 +00:00
7aa8656d1d
The Dart benchmarks will soon be forked for non-nullability and there will be two implementations of the FfiBoringssl benchmark. This change moves the native BoringSSL build a level up so it can be shared between the two implementations, avoiding doubling the needed filesystem space. Change-Id: I8bcc113e19715865f28bc1950cf07ba6cc7ea61f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/148760 Reviewed-by: Daco Harkes <dacoharkes@google.com> Commit-Queue: Jonas Termansen <sortie@google.com>
17 lines
801 B
CMake
17 lines
801 B
CMake
# Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
|
|
# for details. All rights reserved. Use of this source code is governed by a
|
|
# BSD-style license that can be found in the LICENSE file.
|
|
|
|
# TODO(37531): Remove this cmake file and build with sdk instead when
|
|
# benchmark runner gets support for that.
|
|
|
|
set(CMAKE_SYSTEM_NAME Linux)
|
|
set(CMAKE_SYSTEM_VERSION 1)
|
|
set(CMAKE_SYSTEM_PROCESSOR "arm")
|
|
set(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc)
|
|
set(CMAKE_CXX_COMPILER arm-linux-gnueabihf-g++)
|
|
set(CMAKE_AS_COMPILER arm-linux-gnueabihf-as)
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=attributes" CACHE STRING "c++ flags")
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error=attributes" CACHE STRING "c flags")
|
|
set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} " CACHE STRING "asm flags")
|