aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-05-16 06:28:55 +0200
committerTristan Gingold <tgingold@free.fr>2019-05-16 06:28:55 +0200
commit9ae489208b280545dd0f1b2479645204b2bb86a7 (patch)
treeef90804b4cd7e8fc4b0a638dd2330de9d7170d53
parentd5d8471efc3ef7586035ebc57a41f420621d4343 (diff)
downloadghdl-9ae489208b280545dd0f1b2479645204b2bb86a7.tar.gz
ghdl-9ae489208b280545dd0f1b2479645204b2bb86a7.tar.bz2
ghdl-9ae489208b280545dd0f1b2479645204b2bb86a7.zip
ortho: move llvm to llvm35
-rwxr-xr-xconfigure2
-rw-r--r--src/ortho/llvm35/Makefile (renamed from src/ortho/llvm/Makefile)6
-rw-r--r--src/ortho/llvm35/llvm-analysis.ads (renamed from src/ortho/llvm/llvm-analysis.ads)0
-rw-r--r--src/ortho/llvm35/llvm-bitwriter.ads (renamed from src/ortho/llvm/llvm-bitwriter.ads)0
-rw-r--r--src/ortho/llvm35/llvm-cbindings.cpp (renamed from src/ortho/llvm/llvm-cbindings.cpp)0
-rw-r--r--src/ortho/llvm35/llvm-core.ads (renamed from src/ortho/llvm/llvm-core.ads)0
-rw-r--r--src/ortho/llvm35/llvm-executionengine.ads (renamed from src/ortho/llvm/llvm-executionengine.ads)0
-rw-r--r--src/ortho/llvm35/llvm-target.ads (renamed from src/ortho/llvm/llvm-target.ads)0
-rw-r--r--src/ortho/llvm35/llvm-targetmachine.ads (renamed from src/ortho/llvm/llvm-targetmachine.ads)0
-rw-r--r--src/ortho/llvm35/llvm-transforms-scalar.ads (renamed from src/ortho/llvm/llvm-transforms-scalar.ads)0
-rw-r--r--src/ortho/llvm35/llvm-transforms.ads (renamed from src/ortho/llvm/llvm-transforms.ads)0
-rw-r--r--src/ortho/llvm35/llvm.ads (renamed from src/ortho/llvm/llvm.ads)0
-rw-r--r--src/ortho/llvm35/ortho_code_main.adb (renamed from src/ortho/llvm/ortho_code_main.adb)0
-rw-r--r--src/ortho/llvm35/ortho_ident.adb (renamed from src/ortho/llvm/ortho_ident.adb)0
-rw-r--r--src/ortho/llvm35/ortho_ident.ads (renamed from src/ortho/llvm/ortho_ident.ads)0
-rw-r--r--src/ortho/llvm35/ortho_jit.adb (renamed from src/ortho/llvm/ortho_jit.adb)0
-rw-r--r--src/ortho/llvm35/ortho_llvm-jit.adb (renamed from src/ortho/llvm/ortho_llvm-jit.adb)0
-rw-r--r--src/ortho/llvm35/ortho_llvm-jit.ads (renamed from src/ortho/llvm/ortho_llvm-jit.ads)0
-rw-r--r--src/ortho/llvm35/ortho_llvm.adb (renamed from src/ortho/llvm/ortho_llvm.adb)0
-rw-r--r--src/ortho/llvm35/ortho_llvm.ads (renamed from src/ortho/llvm/ortho_llvm.ads)0
-rw-r--r--src/ortho/llvm35/ortho_llvm.private.ads (renamed from src/ortho/llvm/ortho_llvm.private.ads)0
-rw-r--r--src/ortho/llvm35/ortho_nodes.ads (renamed from src/ortho/llvm/ortho_nodes.ads)0
22 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index a8484acec..099528b6a 100755
--- a/configure
+++ b/configure
@@ -239,7 +239,7 @@ if test $backend = llvm; then
exit 1
fi
if check_version 3.5 $llvm_version; then
- llvm_be=llvm
+ llvm_be=llvm35
elif check_version 3.6 $llvm_version ||
check_version 3.7 $llvm_version ||
check_version 3.8 $llvm_version ||
diff --git a/src/ortho/llvm/Makefile b/src/ortho/llvm35/Makefile
index e1940c7a3..5abe441da 100644
--- a/src/ortho/llvm/Makefile
+++ b/src/ortho/llvm35/Makefile
@@ -4,17 +4,17 @@ CXX=clang++
LLVM_CONFIG=llvm-config
GNATMAKE=gnatmake
SED=sed
-BE=llvm
+BE=llvm35
all: $(ortho_exec)
-$(ortho_exec): $(ortho_srcdir)/llvm/ortho_llvm.ads force llvm-cbindings.o
+$(ortho_exec): $(ortho_srcdir)/llvm35/ortho_llvm.ads force llvm-cbindings.o
$(GNATMAKE) -o $@ -aI$(ortho_srcdir)/llvm -aI$(ortho_srcdir) \
$(GNATFLAGS) ortho_code_main -bargs -E \
-largs llvm-cbindings.o --LINK=$(CXX) \
$(LDFLAGS) `$(LLVM_CONFIG) --ldflags --libs --system-libs`
-llvm-cbindings.o: $(ortho_srcdir)/llvm/llvm-cbindings.cpp
+llvm-cbindings.o: $(ortho_srcdir)/llvm35/llvm-cbindings.cpp
$(CXX) -c `$(LLVM_CONFIG) --cxxflags` -o $@ $<
clean:
diff --git a/src/ortho/llvm/llvm-analysis.ads b/src/ortho/llvm35/llvm-analysis.ads
index bfecec579..bfecec579 100644
--- a/src/ortho/llvm/llvm-analysis.ads
+++ b/src/ortho/llvm35/llvm-analysis.ads
diff --git a/src/ortho/llvm/llvm-bitwriter.ads b/src/ortho/llvm35/llvm-bitwriter.ads
index 3f9c518e4..3f9c518e4 100644
--- a/src/ortho/llvm/llvm-bitwriter.ads
+++ b/src/ortho/llvm35/llvm-bitwriter.ads
diff --git a/src/ortho/llvm/llvm-cbindings.cpp b/src/ortho/llvm35/llvm-cbindings.cpp
index e4d666ade..e4d666ade 100644
--- a/src/ortho/llvm/llvm-cbindings.cpp
+++ b/src/ortho/llvm35/llvm-cbindings.cpp
diff --git a/src/ortho/llvm/llvm-core.ads b/src/ortho/llvm35/llvm-core.ads
index 7ec85c284..7ec85c284 100644
--- a/src/ortho/llvm/llvm-core.ads
+++ b/src/ortho/llvm35/llvm-core.ads
diff --git a/src/ortho/llvm/llvm-executionengine.ads b/src/ortho/llvm35/llvm-executionengine.ads
index 72d4cda2f..72d4cda2f 100644
--- a/src/ortho/llvm/llvm-executionengine.ads
+++ b/src/ortho/llvm35/llvm-executionengine.ads
diff --git a/src/ortho/llvm/llvm-target.ads b/src/ortho/llvm35/llvm-target.ads
index b7c35848a..b7c35848a 100644
--- a/src/ortho/llvm/llvm-target.ads
+++ b/src/ortho/llvm35/llvm-target.ads
diff --git a/src/ortho/llvm/llvm-targetmachine.ads b/src/ortho/llvm35/llvm-targetmachine.ads
index cbf074940..cbf074940 100644
--- a/src/ortho/llvm/llvm-targetmachine.ads
+++ b/src/ortho/llvm35/llvm-targetmachine.ads
diff --git a/src/ortho/llvm/llvm-transforms-scalar.ads b/src/ortho/llvm35/llvm-transforms-scalar.ads
index 0f23ce87e..0f23ce87e 100644
--- a/src/ortho/llvm/llvm-transforms-scalar.ads
+++ b/src/ortho/llvm35/llvm-transforms-scalar.ads
diff --git a/src/ortho/llvm/llvm-transforms.ads b/src/ortho/llvm35/llvm-transforms.ads
index d5a8011ce..d5a8011ce 100644
--- a/src/ortho/llvm/llvm-transforms.ads
+++ b/src/ortho/llvm35/llvm-transforms.ads
diff --git a/src/ortho/llvm/llvm.ads b/src/ortho/llvm35/llvm.ads
index 80d036b84..80d036b84 100644
--- a/src/ortho/llvm/llvm.ads
+++ b/src/ortho/llvm35/llvm.ads
diff --git a/src/ortho/llvm/ortho_code_main.adb b/src/ortho/llvm35/ortho_code_main.adb
index 4b6dbd856..4b6dbd856 100644
--- a/src/ortho/llvm/ortho_code_main.adb
+++ b/src/ortho/llvm35/ortho_code_main.adb
diff --git a/src/ortho/llvm/ortho_ident.adb b/src/ortho/llvm35/ortho_ident.adb
index e7b650539..e7b650539 100644
--- a/src/ortho/llvm/ortho_ident.adb
+++ b/src/ortho/llvm35/ortho_ident.adb
diff --git a/src/ortho/llvm/ortho_ident.ads b/src/ortho/llvm35/ortho_ident.ads
index 7d3955c02..7d3955c02 100644
--- a/src/ortho/llvm/ortho_ident.ads
+++ b/src/ortho/llvm35/ortho_ident.ads
diff --git a/src/ortho/llvm/ortho_jit.adb b/src/ortho/llvm35/ortho_jit.adb
index fdda667d9..fdda667d9 100644
--- a/src/ortho/llvm/ortho_jit.adb
+++ b/src/ortho/llvm35/ortho_jit.adb
diff --git a/src/ortho/llvm/ortho_llvm-jit.adb b/src/ortho/llvm35/ortho_llvm-jit.adb
index 9155a02c7..9155a02c7 100644
--- a/src/ortho/llvm/ortho_llvm-jit.adb
+++ b/src/ortho/llvm35/ortho_llvm-jit.adb
diff --git a/src/ortho/llvm/ortho_llvm-jit.ads b/src/ortho/llvm35/ortho_llvm-jit.ads
index 5296e2ed8..5296e2ed8 100644
--- a/src/ortho/llvm/ortho_llvm-jit.ads
+++ b/src/ortho/llvm35/ortho_llvm-jit.ads
diff --git a/src/ortho/llvm/ortho_llvm.adb b/src/ortho/llvm35/ortho_llvm.adb
index 250870224..250870224 100644
--- a/src/ortho/llvm/ortho_llvm.adb
+++ b/src/ortho/llvm35/ortho_llvm.adb
diff --git a/src/ortho/llvm/ortho_llvm.ads b/src/ortho/llvm35/ortho_llvm.ads
index 2779d0233..2779d0233 100644
--- a/src/ortho/llvm/ortho_llvm.ads
+++ b/src/ortho/llvm35/ortho_llvm.ads
diff --git a/src/ortho/llvm/ortho_llvm.private.ads b/src/ortho/llvm35/ortho_llvm.private.ads
index ce0685a90..ce0685a90 100644
--- a/src/ortho/llvm/ortho_llvm.private.ads
+++ b/src/ortho/llvm35/ortho_llvm.private.ads
diff --git a/src/ortho/llvm/ortho_nodes.ads b/src/ortho/llvm35/ortho_nodes.ads
index 34d1dbbc9..34d1dbbc9 100644
--- a/src/ortho/llvm/ortho_nodes.ads
+++ b/src/ortho/llvm35/ortho_nodes.ads