Terra seems to rely on this code path being executed to initialize some type cache machinery. This currently happens only on platforms where debug info is enabled (i.e., x86 only). Therefore on PPC64le, this initialization does not happen, leading to errors down the line.
For now, make sure that initialization is in place so that we don't depend on the user doing terralib.cast(uint64, 1ULL) or similar to make their programs work.
Terra seems to rely on this code path being executed to initialize some type cache machinery. This currently happens only on platforms where debug info is enabled (i.e., x86 only). Therefore on PPC64le, this initialization does not happen, leading to errors down the line.
For now, make sure that initialization is in place so that we don't depend on the user doing
terralib.cast(uint64, 1ULL)
or similar to make their programs work.