chakra-core/ChakraCore
Voir sur GitHubInclude paths prevent hermetically sealed builds
Open
#3 916 ouverte le 10 oct. 2017
Codebase Qualityhelp wanted
Métriques du dépôt
- Stars
- (9 000 stars)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
I am trying to port ChakraCore to Buck Build, but the include paths used in ChakraCore are making this difficult.
For instance:
RuntimeBasePch.hcontains#include "Runtime.h";Runtime.hcontains#include "../JITIDL/JITTypes.h".
This causes the compiler to walk outside of the top-level of the build, which breaks reproducibility.
This scenario is avoidable if a path without ../ is used instead. For example:
#include "JITIDL/JITTypes.h"
Or better yet, something like this:
#include <ChakraCore/JITIDL/JITTypes.h>
Ideally, all headers would be included from the same include-path. This is common practice is many C++ libraries, such as Boost.
What are the ChakraCore team's thoughts on this?