Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,31 @@ build --sandbox_default_allow_network

# Custom flags
build --define enable_telemetry=false

# Force use of standard C++ toolchain, ignore Apple toolchain
build --crosstool_top=@bazel_tools//tools/cpp:toolchain
build --host_crosstool_top=@bazel_tools//tools/cpp:toolchain

# Critical flags that made it work
build --incompatible_enable_apple_toolchain_resolution=false
build --incompatible_require_ctx_in_configure_features=false
build --action_env=BAZEL_USE_CPP_ONLY_TOOLCHAIN=1

# C++ standard
build --cxxopt=-std=c++17
build --host_cxxopt=-std=c++17

# Use standalone strategies
build --spawn_strategy=standalone
build --strategy=CppCompile=standalone
build --strategy=CppLink=standalone
build --genrule_strategy=standalone

# Disable Apple features
build --features=-apple
build --features=-supports_dynamic_linker
build --features=-supports_interface_shared_libraries

# Environment overrides
build --action_env=PATH
build --host_action_env=PATH
7 changes: 0 additions & 7 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@ load("//:deps.bzl", "deps")

deps()

load(
"@build_bazel_apple_support//lib:repositories.bzl",
"apple_support_dependencies",
)

apple_support_dependencies()

load("@bazel_features//:deps.bzl", "bazel_features_deps")

bazel_features_deps()
Expand Down
8 changes: 8 additions & 0 deletions deps.bzl
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

def deps():

http_archive(
name = "bazel_features",
sha256 = "d7787da289a7fb497352211ad200ec9f698822a9e0757a4976fd9f713ff372b3",
strip_prefix = "bazel_features-1.9.1",
url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.9.1/bazel_features-v1.9.1.tar.gz",
)

http_archive(
name = "bazel_skylib",
sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506",
Expand Down
94 changes: 0 additions & 94 deletions libs/finance/include/rtbot/finance/RelativeStrengthIndex.h

This file was deleted.

35 changes: 0 additions & 35 deletions libs/finance/test/test_relative_strength_index.cpp

This file was deleted.

Loading
Loading