0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-02 10:08:56 +02:00

modules: Stub for llvm.

This commit is contained in:
Jason Volk 2020-02-11 16:01:41 -08:00
parent 72642ef556
commit 9579325506
2 changed files with 49 additions and 0 deletions

View file

@ -55,6 +55,19 @@ module_LTLIBRARIES = \
well_known.la \
###
#
# LLVM
#
if LLVM
llvm_la_SOURCES = llvm.cc
llvm_la_CPPFLAGS = $(AM_CPPFLAGS) @LLVM_CPPFLAGS@
llvm_la_LDFLAGS = $(AM_LDFLAGS) @LLVM_LDFLAGS@
llvm_la_LIBADD = $(AM_LIBS) @LLVM_LIBS@
module_LTLIBRARIES += llvm.la
endif LLVM
#
# {Image|Graphics}Magick Support
#

36
modules/llvm.cc Normal file
View file

@ -0,0 +1,36 @@
// The Construct
//
// Copyright (C) The Construct Developers
// Copyright (C) 2016-2020 Jason Volk <jason@zemos.net>
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice is present in all copies. The
// full license for this software is available in the LICENSE file.
#include <llvm/Object/Wasm.h>
namespace ircd::llvm
{
static void init(), fini();
}
ircd::mapi::header
IRCD_MODULE
{
"LLVM Compiler Infrastructure",
ircd::llvm::init,
ircd::llvm::fini,
};
void
ircd::llvm::init()
{
}
void
ircd::llvm::fini()
{
}