[Build] Expose internal header files #23025
Labels
build
build issues; typically submitted using template
platform:mobile
issues related to ONNX Runtime mobile; typically submitted using template
stale
issues that have not been addressed in a while; categorized by a bot
Describe the issue
When compiling and installing onnxruntime for debug, I want to expose internal header files, such as onnxruntime-main/onnxruntime/core/framework/fallback_cpu_capability.h. How should I do it?
Urgency
No response
Target platform
x86_64-linux
Build script
Error / output
[ 33%] Building CXX object CMakeFiles/generate_subgrap.dir/generate_subgrap.cpp.o
In file included from /home/baum/postgres-test/test/generate-test-onnx/generate_subgrap.cpp:9:
/home/baum/postgres-test/onnxruntime-main/onnxruntime/core/framework/fallback_cpu_capability.h:6:10: fatal error: gsl/gsl: No such file or directory
6 | #include <gsl/gsl>
| ^~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/generate_subgrap.dir/build.make:76: CMakeFiles/generate_subgrap.dir/generate_subgrap.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/generate_subgrap.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
Visual Studio Version
vscode
GCC / Compiler Version
GNU 9.4.0
The text was updated successfully, but these errors were encountered: