forked from rems-project/asl-interpreter
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge to aslp-lifter project, distrubute src files, remove old cmakes
- Loading branch information
1 parent
50f0828
commit dccf0f5
Showing
16 changed files
with
64 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
project('offlineasl', 'cpp', | ||
version : '0.1', | ||
default_options : ['warning_level=3', 'cpp_std=c++20']) | ||
default_options : [ | ||
'warning_level=3', | ||
'cpp_std=c++20', | ||
'buildtype=debug', | ||
'strip=true', | ||
] | ||
) | ||
|
||
subproject('aslp-lifter-gen') | ||
# debug(get_option('buildtype')) | ||
|
||
subproject('aslp-lifter') | ||
subproject('aslp-lifter-instantiate') |
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
offlineASL-cpp/subprojects/aslp-lifter-gen/aslp-lifter-gen.pc.in
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
offlineASL-cpp/subprojects/aslp-lifter-instantiate/include/aslp/llvm_interface.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#pragma once | ||
#include <charconv> | ||
#include <llvm/ADT/APInt.h> | ||
#include <llvm/IR/Value.h> | ||
|
1 change: 1 addition & 0 deletions
1
offlineASL-cpp/subprojects/aslp-lifter-instantiate/include/aslp/llvm_lifter_traits.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#pragma once | ||
#include <aslp/interface.hpp> | ||
|
||
#include <llvm/ADT/APInt.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
offlineASL-cpp/subprojects/aslp-lifter-instantiate/pch/cpp_pch.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include <cassert> | ||
#include <tuple> | ||
#include <variant> | ||
#include <vector> | ||
#include <stdexcept> | ||
#include <aslp/interface.hpp> | ||
#include <aslp/generated/aslp_lifter.hpp> |
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
project('aslp-lifter', 'cpp', | ||
version : '0.1', | ||
default_options : ['warning_level=3', 'cpp_std=c++20']) | ||
|
||
incdir = 'include' | ||
srcdir = 'src' | ||
install_srcdir = get_option('datadir') / 'aslp' | ||
|
||
install_subdir(incdir, install_dir : get_option('includedir'), strip_directory : true) | ||
gen_dep = declare_dependency(include_directories : incdir) | ||
|
||
find = run_command('find', srcdir, '-name', '*.cpp', check : true) | ||
srcfiles = files(find.stdout().strip().split('\n')) | ||
|
||
install_subdir(srcdir, install_dir: install_srcdir, strip_directory : true) | ||
instantiate_dep = declare_dependency( | ||
sources: srcfiles, | ||
dependencies: gen_dep, | ||
compile_args: ['-Wno-unused-parameter']) | ||
|
||
pkg = import('pkgconfig') | ||
pkg.generate( | ||
name: meson.project_name(), | ||
description: 'offline aslp lifter library (template headers and explicit instantiation sources)', | ||
variables: {'srcdir': '${prefix}' / install_srcdir}) |
File renamed without changes.