.gitignore updates, and deleting old build system files.
authorMichael Vrable <mvrable@cs.ucsd.edu>
Mon, 15 Feb 2010 23:53:28 +0000 (15:53 -0800)
committerMichael Vrable <mvrable@cs.ucsd.edu>
Mon, 15 Feb 2010 23:53:28 +0000 (15:53 -0800)
.gitignore
kvstore/SConscript [deleted file]
kvstore/SConstruct [deleted file]

index 901100e..85ddf8e 100644 (file)
@@ -4,6 +4,10 @@ Makefile
 cmake_install.cmake
 bluesky/libbluesky.so
 bluesky/bluesky-test
+kvstore/*.pb.cc
+kvstore/*.pb.h
+kvstore/lib*.a
+kvstore/kvstore
 microbench/bench
 microbench/readbench
 nfs3/nfsproxy
diff --git a/kvstore/SConscript b/kvstore/SConscript
deleted file mode 100644 (file)
index 6414023..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-Import('env')
-
-protobuf = Builder(
-    action = (
-        'protoc --proto_path=${SOURCE.dir} --cpp_out=${TARGET.dir} $SOURCE'
-             ),
-    single_source = True,
-    )
-
-env["BUILDERS"]["Protobuf"] = protobuf
-
-env.ParseConfig("echo -I./protobufrpc")
-env.ParseConfig("echo -I/opt/local/include -L/opt/local/lib")
-
-if not env.has_key('LIBS'):
-    env['LIBS'] = []
-
-env['LIBS'] += ['protobuf',
-                'pthread',
-                'boost_thread-mt',
-                'boost_regex-mt',
-                'boost_system-mt',
-                'boost_program_options-mt',
-                'db']
-
-protobufrpc = SConscript(dirs=['./protobufrpc/'], exports='env')
-
-kvstore_proto_files = env.Protobuf(
-        target = [ 'kvstore.pb.cc', 'kvstore.pb.h' ],
-        source = 'kvstore.proto'
-    )
-
-kvservice_files = ['kvservice.cc', 'backend.cc']
-kvclient_files = ['kvclient.cc']
-
-kvservice = env.StaticLibrary('kvservice', kvservice_files)
-kvclient = env.StaticLibrary('kvclient', kvclient_files)
-kvstore_proto = env.StaticLibrary('kvstore', kvstore_proto_files)
-
-env.Program('kvstore', ['kvstore.cc']
-                       + kvservice
-                       + kvstore_proto
-                       + protobufrpc)
-
-env.Program('kvtest',
-            ['kvtest.cc']
-                    + kvservice
-                    + kvclient
-                    + kvstore_proto
-                    + protobufrpc,
-            LIBS=env['LIBS']+['gtest'])
-
-env.Program('kvbench',
-            ['kvbench.cc']
-                    + kvclient
-                    + kvstore_proto
-                    + protobufrpc)
-
-products = {
-            'kvservice': kvservice,
-            'kvclient': kvclient,
-            'kvstore_proto': kvstore_proto,
-           }
-
-Return('products')
diff --git a/kvstore/SConstruct b/kvstore/SConstruct
deleted file mode 100644 (file)
index a848c09..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-import os 
-
-AddOption('--prefix',
-          dest='prefix',
-          type='string',
-          nargs=1,
-          action='store',
-          metavar='DIR',
-          help='installation prefix')
-
-env = Environment(CXXFLAGS='-O3 -fPIC -W -Wall -g',
-                  PREFIX=GetOption('prefix'),
-                  LINKFLAGS='',#-pg',
-                 )
-
-
-for envvar in ('HOME', 'DISTCC_DIR', 'DISTCC_HOSTS', 'CCACHE_DIR',
-               'INTERCEPTOR_SOCKET', 'ENFORGE_DIGEST_CACHE',
-               'ENFORGE_CACHE_HOST', 'ENFORGE_CACHE_PORT',
-               'PATH'):
-  if envvar in os.environ:
-    env['ENV'][envvar] = os.environ[envvar]
-
-#env['CXX'] = 'distcc g++'
-#env['CXX'] = 'icc'
-
-if env['PREFIX'] is not None:
-    bin_dest = env['PREFIX'] + '/usr/bin'
-else:
-    bin_dest = '/usr/bin'
-
-#env.ParseConfig("echo -lprofiler -ltcmalloc")
-
-SConscript(dirs=['./'], exports='env')
-
-if 'install' in COMMAND_LINE_TARGETS:
-    env.Install(bin_dest, 'kvstore')
-
-env.Alias('install', bin_dest)