summarylogtreecommitdiffstats
path: root/use-static-llvm40.patch
diff options
context:
space:
mode:
authorTeteros2019-05-12 01:03:06 +0100
committerTeteros2019-05-12 01:03:06 +0100
commit5eab6e38f8bdb6b3a0821bdf14e5b6858fcbaca6 (patch)
tree3d734825b977049d8d663087041e459a8bb90915 /use-static-llvm40.patch
parent8194c6f68f286876e2d77870191834a18e66989d (diff)
downloadaur-5eab6e38f8bdb6b3a0821bdf14e5b6858fcbaca6.tar.gz
5.9.60-1: New version
Diffstat (limited to 'use-static-llvm40.patch')
-rw-r--r--use-static-llvm40.patch56
1 files changed, 0 insertions, 56 deletions
diff --git a/use-static-llvm40.patch b/use-static-llvm40.patch
deleted file mode 100644
index e0be59fa3d0..00000000000
--- a/use-static-llvm40.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-diff -aur --no-dereference radium-5.9.34.pristine/bin/packages/faust2/compiler/Makefile.unix radium-5.9.34.new/bin/packages/faust2/compiler/Makefile.unix
---- radium-5.9.34.pristine/bin/packages/faust2/compiler/Makefile.unix 2019-02-07 17:21:55.000000000 +0000
-+++ radium-5.9.34.new/bin/packages/faust2/compiler/Makefile.unix 2019-02-08 00:38:30.883774254 +0000
-@@ -26,7 +26,7 @@
- # link a suitable llvm-config to a location somewhere on your PATH, or just
- # set LLVM_CONFIG manually.
-
--LLVM_CONFIG = $(lastword $(wildcard /usr/bin/llvm-config* /opt/local/bin/llvm-config* /usr/local/bin/llvm-config*) $(shell which llvm-config 2> /dev/null))
-+LLVM_CONFIG = /usr/bin/llvm-config-4.0
-
- ## On Darwin build both 32 and 64-bits intel versions
- ifeq ($(system), Darwin)
-@@ -47,7 +47,7 @@
- endif
- endif
-
--LLVM_STATIC_LIBS = $(shell $(LLVM_CONFIG) --libfiles)
-+LLVM_STATIC_LIBS = $(shell $(LLVM_CONFIG) --link-static --libfiles)
- LLVM_VERSION = $(shell $(LLVM_CONFIG) --version)
-
- ## On Windows (mingw32) we must link against the socket library.
-@@ -225,7 +225,7 @@
- ifneq ($(findstring MINGW32, $(system)),)
- $(CXX) $(CXXFLAGS) $(LDFLAGS) $(objects) main.o libcode.o global.o `$(LLVM_CONFIG) --ldflags` $(LLVMLIBS) $(CLANGLIBS) $(LIBS) -lpthread -o faust
- else
-- $(CXX) $(CXXFLAGS) $(LDFLAGS) $(objects) main.o libcode.o global.o `$(LLVM_CONFIG) --ldflags` $(LLVMLIBS) $(CLANGLIBS) -ldl -lcrypto -lz -lncurses -lpthread -o faust
-+ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(objects) main.o libcode.o global.o $(LLVM_STATIC_LIBS) $(CLANGLIBS) -ldl -lcrypto -lz -lncurses -lpthread -o faust
- endif
-
- ifeq ($(system), Darwin)
-diff -aur --no-dereference radium-5.9.34.pristine/build_linux_common.sh radium-5.9.34.new/build_linux_common.sh
---- radium-5.9.34.pristine/build_linux_common.sh 2019-02-07 17:21:55.000000000 +0000
-+++ radium-5.9.34.new/build_linux_common.sh 2019-02-08 00:42:18.613767374 +0000
-@@ -107,19 +107,13 @@
- PYTHONLIBPATH=`$PYTHONEXE -c "import sys;print '-L'+sys.prefix+'/lib'"`
- PYTHONLIBNAME=`$PYTHONEXE -c "import sys;print '-lpython'+sys.version[:3]"`
-
--LLVM_OPTS=`llvm-config --cppflags`
--
--MAYBELLVM=`llvm-config --libdir`/libLLVM-`llvm-config --version`.so
--if [ -f $MAYBELLVM ]; then
-- LLVMLIBS=-lLLVM-`llvm-config --version`
--else
-- LLVMLIBS=`llvm-config --libs`
--fi
-+LLVM_OPTS=`llvm-config-4.0 --cppflags`
-+LLVMLIBS=`llvm-config-4.0 --link-static --libfiles`
-
- export QSCINTILLA_PATH=`pwd`/bin/packages/QScintilla_gpl-2.10.8
-
- if env |grep INCLUDE_FAUSTDEV ; then
-- FAUSTLDFLAGS="$QSCINTILLA_PATH/Qt4Qt5/libqscintilla2_qt5.a bin/packages/faust2/compiler/libfaust.a `$PKG --libs uuid` `llvm-config --ldflags` $LLVMLIBS -lcrypto -lncurses"
-+ FAUSTLDFLAGS="$QSCINTILLA_PATH/Qt4Qt5/libqscintilla2_qt5.a bin/packages/faust2/compiler/libfaust.a `$PKG --libs uuid` $LLVMLIBS -lcrypto -lncurses"
- else
- FAUSTLDFLAGS=""
- fi