Skip to main content
Glama
cxx_utility.bzl1.39 kB
# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under both the MIT license found in the # LICENSE-MIT file in the root directory of this source tree and the Apache # License, Version 2.0 found in the LICENSE-APACHE file in the root directory # of this source tree. def cxx_attrs_get_allow_cache_upload(attrs: struct, default: [None, bool] = None) -> bool: default_value = default if default != None else False if not hasattr(attrs, "allow_cache_upload"): return default_value value = attrs.allow_cache_upload return value if value != None else default_value def cxx_toolchain_allow_cache_upload_args(): doc = """ Whether to allow uploading of object files to cache when the compile action is executed locally and the configuration allows uploads (i.e., there is a cache configured and the client has permission to write to it). """ return { "c_compiler_allow_cache_upload": attrs.option( attrs.bool(), default = None, doc = doc, ), "cuda_compiler_allow_cache_upload": attrs.option( attrs.bool(), default = None, doc = doc, ), "cxx_compiler_allow_cache_upload": attrs.option( attrs.bool(), default = None, doc = doc, ), }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/systeminit/si'

If you have feedback or need assistance with the MCP directory API, please join our Discord server