mirror of
https://github.com/matrix-construct/construct
synced 2025-02-16 16:50:12 +01:00
modules: Stub for llvm.
This commit is contained in:
parent
72642ef556
commit
9579325506
2 changed files with 49 additions and 0 deletions
|
@ -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
36
modules/llvm.cc
Normal 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()
|
||||
{
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue