CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
55 lines
1.9 KiB
Plaintext
55 lines
1.9 KiB
Plaintext
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Custom __config_site for HIPRTC - freestanding environment
|
|
//
|
|
// This file is embedded in comgr and used when compiling HIPRTC programs
|
|
// with the embedded libc++ headers.
|
|
//
|
|
// Defines mirror libcxx/include/__config_site.in — update if upstream changes.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef _LIBCPP___CONFIG_SITE
|
|
#define _LIBCPP___CONFIG_SITE
|
|
|
|
// ABI configuration
|
|
#define _LIBCPP_ABI_VERSION 1
|
|
#define _LIBCPP_ABI_NAMESPACE __1
|
|
#define _LIBCPP_ABI_FORCE_ITANIUM 1
|
|
#define _LIBCPP_ABI_FORCE_MICROSOFT 0
|
|
|
|
// Disable features not available on GPU
|
|
#define _LIBCPP_HAS_THREADS 0
|
|
#define _LIBCPP_HAS_MONOTONIC_CLOCK 0
|
|
#define _LIBCPP_HAS_TERMINAL 0
|
|
#define _LIBCPP_HAS_MUSL_LIBC 0
|
|
#define _LIBCPP_HAS_THREAD_API_PTHREAD 0
|
|
#define _LIBCPP_HAS_THREAD_API_EXTERNAL 0
|
|
#define _LIBCPP_HAS_THREAD_API_WIN32 0
|
|
#define _LIBCPP_HAS_VENDOR_AVAILABILITY_ANNOTATIONS 0
|
|
#define _LIBCPP_HAS_FILESYSTEM 0
|
|
#define _LIBCPP_HAS_RANDOM_DEVICE 0
|
|
#define _LIBCPP_HAS_LOCALIZATION 0
|
|
#define _LIBCPP_HAS_UNICODE 0
|
|
#define _LIBCPP_HAS_WIDE_CHARACTERS 0
|
|
#define _LIBCPP_HAS_TIME_ZONE_DATABASE 0
|
|
#define _LIBCPP_INSTRUMENTED_WITH_ASAN 0
|
|
|
|
// C libraries - freestanding
|
|
#define _LIBCPP_LIBC_PICOLIBC 0
|
|
#define _LIBCPP_LIBC_NEWLIB 0
|
|
#define _LIBCPP_LIBC_LLVM_LIBC 0
|
|
|
|
// Hardening - disabled for GPU (minimal overhead)
|
|
// Values from libcxx/include/__configuration/hardening.h:
|
|
// _LIBCPP_HARDENING_MODE_NONE = (1 << 1)
|
|
// _LIBCPP_ASSERTION_SEMANTIC_IGNORE = (1 << 2)
|
|
#define _LIBCPP_HARDENING_MODE_DEFAULT (1 << 1)
|
|
#define _LIBCPP_ASSERTION_SEMANTIC_DEFAULT (1 << 2)
|
|
|
|
// Remove transitive includes to avoid pulling in exception/iostream headers
|
|
// that are not available in GPU freestanding environment
|
|
#define _LIBCPP_REMOVE_TRANSITIVE_INCLUDES
|
|
|
|
#endif // _LIBCPP___CONFIG_SITE
|