Skip to content

Commit ef85891

Browse files
committed
change the cache one more time
1 parent 5dc3174 commit ef85891

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

BUILD

-10
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@ config_setting(
5858
# Which is then used to exclude (through dll_deps([])) the libs already linked in here.
5959
otel_cc_library(
6060
name = "otel_sdk_deps",
61-
target_compatible_with = select({
62-
# To compile you need `--//:with_dll=true` on the command line
63-
"with_dll_enabled": None,
64-
"//conditions:default": ["@platforms//:incompatible"],
65-
}),
6661
visibility = ["//visibility:private"],
6762
deps = [
6863
"@otel_sdk//exporters/elasticsearch:es_log_record_exporter",
@@ -125,11 +120,6 @@ otel_cc_library(
125120
"all_api_includes.cc",
126121
"all_sdk_includes.cc",
127122
],
128-
target_compatible_with = select({
129-
# To compile you need `--//:with_dll=true` on the command line
130-
"with_dll_enabled": None,
131-
"//conditions:default": ["@platforms//:incompatible"],
132-
}),
133123
# Almost all headers are included here, such that the compiler can notice the __declspec(dllexport) members.
134124
visibility = ["//visibility:private"],
135125
deps = ["otel_sdk_deps"],

otel_sdk_build.cmd

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ REM singleton_test does not work when linked as static under Windows
4646
goto:eof
4747

4848
:minimal
49-
"%__BAZEL__%" run --profile=5.pkgk.tracing.json -k --//:with_dll=true otel_sdk_files
49+
"%__BAZEL__%" build --profile=min.nodll.tracing.json --//:with_dll=false api_sdk_includes || goto:error
50+
"%__BAZEL__%" build --profile=min.dll.tracing.json --//:with_dll=true otel_sdk_files || goto:error
5051
goto:eof
5152

5253
:zip

0 commit comments

Comments
 (0)