commit d1edce71135cc6d98c0a4b5729774542b676e769 Author: sophgo-forum-service <forum_service@sophgo.com> Date: Fri Mar 15 16:07:33 2024 +0800 [fix] recommend using ssh method to clone repo. [fix] fix sensor driver repo branch name.
13 lines
341 B
C++
13 lines
341 B
C++
// SPDX-License-Identifier: GPL-2.0
|
|
#include <cstdio>
|
|
#include "llvm/Config/llvm-config.h"
|
|
|
|
#define NUM_VERSION (((LLVM_VERSION_MAJOR) << 16) + (LLVM_VERSION_MINOR << 8) + LLVM_VERSION_PATCH)
|
|
#define pass int main() {printf("%x\n", NUM_VERSION); return 0;}
|
|
|
|
#if NUM_VERSION >= 0x030900
|
|
pass
|
|
#else
|
|
# error This LLVM is not tested yet.
|
|
#endif
|