mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 21:53:12 +08:00
[flang] Temporary include variant.h in enum-class.h. (#134460)
I am having problems building Fortran runtime for CUDA after #134164. I need more time to investigate it, but in the meantime including variant.h (or any header that eventually includes a libcudacxx header) resolves the issue.
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#ifndef FORTRAN_COMMON_ENUM_CLASS_H_
|
||||
#define FORTRAN_COMMON_ENUM_CLASS_H_
|
||||
|
||||
#include "flang/Common/variant.h"
|
||||
#include <array>
|
||||
#include <string>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user