Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (3b00b7000adea0a42f1bbb95cb8f4f63edfd1beb)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (3b00b7000adea0a42f1bbb95cb8f4f63edfd1beb)
  • Date: Wed, 31 Jan 2018 21:10:31 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 4 ++++
dev/null |binary
libs/libc++/BUILD | 25 +++++++++++++++++++++++++
libs/libc++/CONFIGURE | 1 +
libs/libc++/DEPENDS | 3 +++
libs/libc++/DETAILS | 34 ++++++++++++++++++++++++++++++++++
libs/libc++/FINAL | 1 +
libs/libc++/HISTORY | 3 +++
libs/libc++/INSTALL | 5 +++++
libs/libc++/PRE_BUILD | 4 ++++
llvm.gpg |binary
11 files changed, 80 insertions(+)

New commits:
commit 3b00b7000adea0a42f1bbb95cb8f4f63edfd1beb
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

libc++: new spell, C++ standard library

commit 8402f27d5eedba8f1e1f1e78796cc15a7e7b5770
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

llvm.gpg: moved to the root

diff --git a/ChangeLog b/ChangeLog
index 941d88e..7f72183 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-01-31 Vlad Glagolev <stealth AT sourcemage.org>
+ * devel/llvm/llvm.gpg: moved to the root
+ * libs/libc++: new spell, C++ standard library
+
2018-01-30 Ismael Luceno <ismael AT sourcemage.org>
* perl-cpan/perl-image-sane: new spell, Perl extension for the SANE
(Scanner Access Now Easy) Project
diff --git a/devel/llvm/llvm.gpg b/devel/llvm/llvm.gpg
deleted file mode 100644
index 0ecb0c2..0000000
Binary files a/devel/llvm/llvm.gpg and /dev/null differ
diff --git a/libs/libc++/BUILD b/libs/libc++/BUILD
new file mode 100755
index 0000000..8a3db42
--- /dev/null
+++ b/libs/libc++/BUILD
@@ -0,0 +1,25 @@
+CXXFLAGS="-std=c++11 ${CXXFLAGS}" &&
+
+OPTS="-DCMAKE_C_COMPILER=clang \
+ -DCMAKE_CXX_COMPILER=clang++ \
+ ${OPTS}" &&
+
+persistent_add ABI_DIR &&
+
+ABI_DIR="${SPELLX}abi-${VERSION}.src" &&
+
+cd "${ABI_DIR}" &&
+
+ABI_OPTS="-DLIBCXXABI_LIBCXX_INCLUDES=../../include ${OPTS}" &&
+
+OPTS="${ABI_OPTS}" cmake_build &&
+
+cd ../.. &&
+
+LDFLAGS="-L${SOURCE_DIRECTORY}/${ABI_DIR}/build/lib ${LDFLAGS}" &&
+
+OPTS="-DLIBCXX_CXX_ABI=libcxxabi \
+
-DLIBCXX_LIBCXXABI_INCLUDE_PATHS=${SOURCE_DIRECTORY}/${ABI_DIR}/include \
+ ${OPTS}" &&
+
+cmake_build
diff --git a/libs/libc++/CONFIGURE b/libs/libc++/CONFIGURE
new file mode 100755
index 0000000..b2f02c3
--- /dev/null
+++ b/libs/libc++/CONFIGURE
@@ -0,0 +1 @@
+source $GRIMOIRE/CMAKE_CONFIGURE
diff --git a/libs/libc++/DEPENDS b/libs/libc++/DEPENDS
new file mode 100755
index 0000000..de62523
--- /dev/null
+++ b/libs/libc++/DEPENDS
@@ -0,0 +1,3 @@
+source $GRIMOIRE/CMAKE_DEPENDS &&
+
+depends llvm
diff --git a/libs/libc++/DETAILS b/libs/libc++/DETAILS
new file mode 100755
index 0000000..db7209a
--- /dev/null
+++ b/libs/libc++/DETAILS
@@ -0,0 +1,34 @@
+ SPELL=libc++
+ SPELLX=libcxx
+ VERSION=3.5.0
+ SOURCE=${SPELLX}-${VERSION}.src.tar.xz
+ SOURCE2=${SOURCE}.sig
+ SOURCE3=${SPELLX}abi-${VERSION}.src.tar.xz
+ SOURCE4=${SOURCE3}.sig
+ SOURCE_URL[0]=http://releases.llvm.org/${VERSION}/${SOURCE}
+ SOURCE2_URL[0]=${SOURCE_URL}.sig
+ SOURCE3_URL[0]=http://releases.llvm.org/${VERSION}/${SOURCE3}
+ SOURCE4_URL[0]=${SOURCE3_URL}.sig
+ SOURCE_GPG=llvm.gpg:${SOURCE2}:UPSTREAM_KEY
+ SOURCE3_GPG=llvm.gpg:${SOURCE4}:UPSTREAM_KEY
+ SOURCE2_IGNORE=signature
+ SOURCE4_IGNORE=signature
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELLX}-${VERSION}.src"
+ DOCS="LICENSE.TXT"
+ WEB_SITE=http://libcxx.llvm.org/
+ LICENSE[0]="MIT"
+ ENTERED=20180131
+ KEYWORDS="C++11"
+ SHORT="C++ standard library"
+cat << EOF
+libc++ is a new implementation of the C++ standard library, targeting C++11.
+
+Features and goals:
+- Correctness as defined by the C++11 standard.
+- Fast execution.
+- Minimal memory use.
+- Fast compile times.
+- ABI compatibility with gcc's libstdc++ for some low-level features such as
+ exception objects, rtti and memory allocation.
+- Extensive unit tests.
+EOF
diff --git a/libs/libc++/FINAL b/libs/libc++/FINAL
new file mode 100755
index 0000000..6b2159e
--- /dev/null
+++ b/libs/libc++/FINAL
@@ -0,0 +1 @@
+persistent_remove ABI_DIR
diff --git a/libs/libc++/HISTORY b/libs/libc++/HISTORY
new file mode 100644
index 0000000..33fc56b
--- /dev/null
+++ b/libs/libc++/HISTORY
@@ -0,0 +1,3 @@
+2018-01-31 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, {PRE_,}BUILD, CONFIGURE, INSTALL, FINAL:
+ created spell, version 3.5.0
diff --git a/libs/libc++/INSTALL b/libs/libc++/INSTALL
new file mode 100755
index 0000000..9d84f5a
--- /dev/null
+++ b/libs/libc++/INSTALL
@@ -0,0 +1,5 @@
+cmake_install &&
+
+cd "${SOURCE_DIRECTORY}/${ABI_DIR}/build" &&
+
+cmake_install
diff --git a/libs/libc++/PRE_BUILD b/libs/libc++/PRE_BUILD
new file mode 100755
index 0000000..148d653
--- /dev/null
+++ b/libs/libc++/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+unpack_file 3
diff --git a/llvm.gpg b/llvm.gpg
new file mode 100644
index 0000000..0ecb0c2
Binary files /dev/null and b/llvm.gpg differ



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (3b00b7000adea0a42f1bbb95cb8f4f63edfd1beb), Vlad Glagolev, 01/31/2018

Archive powered by MHonArc 2.6.24.

Top of Page