1*b6fb3261SAndroid Build Coastguard Worker /* Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2*b6fb3261SAndroid Build Coastguard Worker 3*b6fb3261SAndroid Build Coastguard Worker Licensed under the Apache License, Version 2.0 (the "License"); 4*b6fb3261SAndroid Build Coastguard Worker you may not use this file except in compliance with the License. 5*b6fb3261SAndroid Build Coastguard Worker You may obtain a copy of the License at 6*b6fb3261SAndroid Build Coastguard Worker 7*b6fb3261SAndroid Build Coastguard Worker http://www.apache.org/licenses/LICENSE-2.0 8*b6fb3261SAndroid Build Coastguard Worker 9*b6fb3261SAndroid Build Coastguard Worker Unless required by applicable law or agreed to in writing, software 10*b6fb3261SAndroid Build Coastguard Worker distributed under the License is distributed on an "AS IS" BASIS, 11*b6fb3261SAndroid Build Coastguard Worker WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*b6fb3261SAndroid Build Coastguard Worker See the License for the specific language governing permissions and 13*b6fb3261SAndroid Build Coastguard Worker limitations under the License. 14*b6fb3261SAndroid Build Coastguard Worker ==============================================================================*/ 15*b6fb3261SAndroid Build Coastguard Worker 16*b6fb3261SAndroid Build Coastguard Worker #ifndef THIRD_PARTY_HWLOC_STATIC_COMPONENTS_H_ 17*b6fb3261SAndroid Build Coastguard Worker #define THIRD_PARTY_HWLOC_STATIC_COMPONENTS_H_ 18*b6fb3261SAndroid Build Coastguard Worker 19*b6fb3261SAndroid Build Coastguard Worker #include <private/internal-components.h> 20*b6fb3261SAndroid Build Coastguard Worker static const struct hwloc_component* hwloc_static_components[] = { 21*b6fb3261SAndroid Build Coastguard Worker &hwloc_noos_component, 22*b6fb3261SAndroid Build Coastguard Worker &hwloc_xml_component, 23*b6fb3261SAndroid Build Coastguard Worker &hwloc_synthetic_component, 24*b6fb3261SAndroid Build Coastguard Worker &hwloc_xml_nolibxml_component, 25*b6fb3261SAndroid Build Coastguard Worker #ifdef __linux__ 26*b6fb3261SAndroid Build Coastguard Worker &hwloc_linux_component, 27*b6fb3261SAndroid Build Coastguard Worker &hwloc_linuxio_component, 28*b6fb3261SAndroid Build Coastguard Worker #endif 29*b6fb3261SAndroid Build Coastguard Worker #ifdef __FreeBSD__ 30*b6fb3261SAndroid Build Coastguard Worker &hwloc_freebsd_component, 31*b6fb3261SAndroid Build Coastguard Worker #endif 32*b6fb3261SAndroid Build Coastguard Worker #if defined(__x86_64__) || defined(__amd64__) || defined(_M_IX86) || \ 33*b6fb3261SAndroid Build Coastguard Worker defined(_M_X64) 34*b6fb3261SAndroid Build Coastguard Worker &hwloc_x86_component, 35*b6fb3261SAndroid Build Coastguard Worker #endif 36*b6fb3261SAndroid Build Coastguard Worker NULL}; 37*b6fb3261SAndroid Build Coastguard Worker 38*b6fb3261SAndroid Build Coastguard Worker #endif // THIRD_PARTY_HWLOC_STATIC_COMPONENTS_H_ 39