leveldb-1.23
This commit is contained in:
@@ -14,6 +14,8 @@ def setup():
|
|||||||
shelltools.makedirs("build")
|
shelltools.makedirs("build")
|
||||||
shelltools.cd("build")
|
shelltools.cd("build")
|
||||||
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
|
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DLEVELDB_BUILD_TESTS:BOOL=OFF \
|
||||||
|
-DLEVELDB_BUILD_BENCHMARKS:BOOL=OFF \
|
||||||
-DBUILD_SHARED_LIBS=1", sourceDir="..")
|
-DBUILD_SHARED_LIBS=1", sourceDir="..")
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index f8285b8..7ab9fe1 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -70,10 +70,6 @@ else(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||||
|
# Disable C++ exceptions.
|
||||||
|
string(REGEX REPLACE "-fexceptions" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions")
|
||||||
|
-
|
||||||
|
- # Disable RTTI.
|
||||||
|
- string(REGEX REPLACE "-frtti" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
|
||||||
|
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti")
|
||||||
|
endif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||||
|
|
||||||
|
# Test whether -Wthread-safety is available. See
|
||||||
@@ -12,13 +12,16 @@
|
|||||||
<IsA>app:console</IsA>
|
<IsA>app:console</IsA>
|
||||||
<Summary>A fast and lightweight key/value database library</Summary>
|
<Summary>A fast and lightweight key/value database library</Summary>
|
||||||
<Description>LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.</Description>
|
<Description>LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.</Description>
|
||||||
|
<Archive sha1sum="042e267eae6ab522fe29274f79ad45cde3977655" type="targz">https://github.com/google/leveldb/archive/1.23.tar.gz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>cmake</Dependency>
|
<Dependency>cmake</Dependency>
|
||||||
<Dependency>sqlite-devel</Dependency>
|
<Dependency>sqlite-devel</Dependency>
|
||||||
<Dependency>snappy-devel</Dependency>
|
<Dependency>snappy-devel</Dependency>
|
||||||
<Dependency>gperftools-devel</Dependency>
|
<Dependency>gperftools-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Archive sha1sum="8d310af5cfb53dc836bfb412ff4b3c8aea578627" type="targz">https://github.com/google/leveldb/archive/1.22.tar.gz</Archive>
|
<Patches>
|
||||||
|
<Patch level="1">0006-revert-no-rtti.patch</Patch>
|
||||||
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
@@ -45,6 +48,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="9">
|
||||||
|
<Date>2022-06-26</Date>
|
||||||
|
<Version>1.23</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>Mustafa Cinasal</Name>
|
||||||
|
<Email>muscnsl@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="8">
|
<Update release="8">
|
||||||
<Date>2021-11-06</Date>
|
<Date>2021-11-06</Date>
|
||||||
<Version>1.22</Version>
|
<Version>1.22</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user