From d8fe9dc48b640fc977cd03b483e6fd6b620785ad Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Thu, 15 Aug 2024 14:21:43 +0200 Subject: removing stale files --- modules/codec/c++/schema.hpp | 7 ++ modules/io-fs/.nix/derivation.nix | 33 ------- modules/io-fs/SConscript | 38 -------- modules/io-fs/SConstruct | 66 -------------- modules/remote-thread/.nix/derivation.nix | 43 +++++++++ modules/remote-thread/SConstruct | 82 +++++++++++++++++ modules/remote-thread/c++/SConscript | 38 ++++++++ modules/remote-thread/c++/remote.hpp | 140 ++++++++++++++++++++++++++++++ modules/remote-thread/examples/SConscript | 32 +++++++ modules/remote-thread/tests/SConscript | 31 +++++++ modules/thread/.nix/derivation.nix | 42 --------- modules/thread/SConstruct | 82 ----------------- modules/thread/c++/SConscript | 38 -------- modules/thread/c++/remote.hpp | 140 ------------------------------ modules/thread/examples/SConscript | 32 ------- modules/thread/tests/SConscript | 31 ------- 16 files changed, 373 insertions(+), 502 deletions(-) delete mode 100644 modules/io-fs/.nix/derivation.nix delete mode 100644 modules/io-fs/SConscript delete mode 100644 modules/io-fs/SConstruct create mode 100644 modules/remote-thread/.nix/derivation.nix create mode 100644 modules/remote-thread/SConstruct create mode 100644 modules/remote-thread/c++/SConscript create mode 100644 modules/remote-thread/c++/remote.hpp create mode 100644 modules/remote-thread/examples/SConscript create mode 100644 modules/remote-thread/tests/SConscript delete mode 100644 modules/thread/.nix/derivation.nix delete mode 100644 modules/thread/SConstruct delete mode 100644 modules/thread/c++/SConscript delete mode 100644 modules/thread/c++/remote.hpp delete mode 100644 modules/thread/examples/SConscript delete mode 100644 modules/thread/tests/SConscript (limited to 'modules') diff --git a/modules/codec/c++/schema.hpp b/modules/codec/c++/schema.hpp index 7df47b3..3820cf3 100644 --- a/modules/codec/c++/schema.hpp +++ b/modules/codec/c++/schema.hpp @@ -33,6 +33,13 @@ template struct Member { static constexpr string_literal KeyLiteral = Literal; }; +template struct Map { + static constexpr string_literal name = "Map"; + + using KeyType = Key; + using ValueType = Value; +}; + template struct Struct { static_assert( always_false, diff --git a/modules/io-fs/.nix/derivation.nix b/modules/io-fs/.nix/derivation.nix deleted file mode 100644 index c8a4962..0000000 --- a/modules/io-fs/.nix/derivation.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib -, stdenvNoCC -, scons -, clang -, clang-tools -, version -, forstio -}: - -let - -in stdenvNoCC.mkDerivation { - pname = "forstio-io-fs"; - inherit version; - src = ./..; - - enableParallelBuilding = true; - - nativeBuildInputs = [ - scons - clang - clang-tools - ]; - - buildInputs = [ - forstio.core - forstio.async - forstio.codec - forstio.io - ]; - - outputs = ["out" "dev"]; -} diff --git a/modules/io-fs/SConscript b/modules/io-fs/SConscript deleted file mode 100644 index dfc3b76..0000000 --- a/modules/io-fs/SConscript +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/false - -import os -import os.path -import glob - - -Import('env') - -dir_path = Dir('.').abspath - -# Environment for base library -io_env = env.Clone(); - -io_env.sources = sorted(glob.glob(dir_path + "/*.cpp")) -io_env.headers = sorted(glob.glob(dir_path + "/*.hpp")) - -env.sources += io_env.sources; -env.headers += io_env.headers; - -## Shared lib -objects_shared = [] -io_env.add_source_files(objects_shared, io_env.sources, shared=True); -io_env.library_shared = io_env.SharedLibrary('#build/forstio-io-fs', [objects_shared]); - -## Static lib -objects_static = [] -io_env.add_source_files(objects_static, io_env.sources, shared=False); -io_env.library_static = io_env.StaticLibrary('#build/forstio-io-fs', [objects_static]); - -# Set Alias -env.Alias('library_io', [io_env.library_shared, io_env.library_static]); - -env.targets += ['library_io']; - -# Install -env.Install('$prefix/lib/', [io_env.library_shared, io_env.library_static]); -env.Install('$prefix/include/forstio/io/fs/', [io_env.headers]); diff --git a/modules/io-fs/SConstruct b/modules/io-fs/SConstruct deleted file mode 100644 index 4cccf82..0000000 --- a/modules/io-fs/SConstruct +++ /dev/null @@ -1,66 +0,0 @@ -#!/usr/bin/env python3 - -import sys -import os -import os.path -import glob -import re - - -if sys.version_info < (3,): - def isbasestring(s): - return isinstance(s,basestring) -else: - def isbasestring(s): - return isinstance(s, (str,bytes)) - -def add_kel_source_files(self, sources, filetype, lib_env=None, shared=False, target_post=""): - - if isbasestring(filetype): - dir_path = self.Dir('.').abspath - filetype = sorted(glob.glob(dir_path+"/"+filetype)) - - for path in filetype: - target_name = re.sub( r'(.*?)(\.cpp|\.c\+\+)', r'\1' + target_post, path ) - if shared: - target_name+='.os' - sources.append( self.SharedObject( target=target_name, source=path ) ) - else: - target_name+='.o' - sources.append( self.StaticObject( target=target_name, source=path ) ) - pass - -def isAbsolutePath(key, dirname, env): - assert os.path.isabs(dirname), "%r must have absolute path syntax" % (key,) - -env_vars = Variables( - args=ARGUMENTS -) - -env_vars.Add('prefix', - help='Installation target location of build results and headers', - default='/usr/local/', - validator=isAbsolutePath -) - -env=Environment(ENV=os.environ, variables=env_vars, CPPPATH=[], - CPPDEFINES=['SAW_UNIX'], - CXXFLAGS=['-std=c++20','-g','-Wall','-Wextra'], - LIBS=['forstio-async']) -env.__class__.add_source_files = add_kel_source_files -env.Tool('compilation_db'); -env.cdb = env.CompilationDatabase('compile_commands.json'); - -env.objects = []; -env.sources = []; -env.headers = []; -env.targets = []; - -Export('env') -SConscript('SConscript') - -env.Alias('cdb', env.cdb); -env.Alias('all', [env.targets]); -env.Default('all'); - -env.Alias('install', '$prefix') diff --git a/modules/remote-thread/.nix/derivation.nix b/modules/remote-thread/.nix/derivation.nix new file mode 100644 index 0000000..917789a --- /dev/null +++ b/modules/remote-thread/.nix/derivation.nix @@ -0,0 +1,43 @@ +{ lib +, stdenv +, scons +, clang-tools +, version +, forstio +, build_examples ? "false" +}: + +stdenv.mkDerivation { + pname = "forstio-remote-thread"; + inherit version; + src = ./..; + + enableParallelBuilding = true; + + nativeBuildInputs = [ + scons + clang-tools + ]; + + buildInputs = [ + forstio.core + forstio.async + forstio.io + forstio.codec + forstio.io_codec + forstio.remote + ]; + + outputs = [ + "out" + "dev" + ]; + + buildPhase = '' + scons build_examples=${build_examples} + ''; + + installPhase = '' + scons prefix=$out build_examples=${build_examples} install + ''; +} diff --git a/modules/remote-thread/SConstruct b/modules/remote-thread/SConstruct new file mode 100644 index 0000000..fe16748 --- /dev/null +++ b/modules/remote-thread/SConstruct @@ -0,0 +1,82 @@ +#!/usr/bin/env python3 + +import sys +import os +import os.path +import glob +import re + + +if sys.version_info < (3,): + def isbasestring(s): + return isinstance(s,basestring) +else: + def isbasestring(s): + return isinstance(s, (str,bytes)) + +def add_kel_source_files(self, sources, filetype, lib_env=None, shared=False, target_post=""): + + if isbasestring(filetype): + dir_path = self.Dir('.').abspath + filetype = sorted(glob.glob(dir_path+"/"+filetype)) + + for path in filetype: + target_name = re.sub( r'(.*?)(\.cpp|\.c\+\+)', r'\1' + target_post, path ) + if shared: + target_name+='.os' + sources.append( self.SharedObject( target=target_name, source=path ) ) + else: + target_name+='.o' + sources.append( self.StaticObject( target=target_name, source=path ) ) + pass + +def isAbsolutePath(key, dirname, env): + assert os.path.isabs(dirname), "%r must have absolute path syntax" % (key,) + +env_vars = Variables( + args=ARGUMENTS +) + +env_vars.Add( + BoolVariable('build_examples', + help='Build examples', + default=False + ) +); + +env_vars.Add('prefix', + help='Installation target location of build results and headers', + default='/usr/local/', + validator=isAbsolutePath +); + +env=Environment(ENV=os.environ, variables=env_vars, CPPPATH=[], + CXX=['c++'], + CPPDEFINES=['SAW_UNIX'], + CXXFLAGS=['-std=c++20','-g','-Wall','-Wextra'], + LIBS=[ + 'forstio-core', + 'forstio-async', + 'forstio-io', + 'forstio-codec', + 'pthread' + ] +); +env.__class__.add_source_files = add_kel_source_files +env.Tool('compilation_db'); +env.cdb = env.CompilationDatabase('compile_commands.json'); + +env.objects = []; +env.sources = []; +env.headers = []; +env.targets = []; + +Export('env') +SConscript('c++/SConscript') +SConscript('examples/SConscript') + +env.Alias('cdb', env.cdb); +env.Alias('all', [env.targets]); +env.Default('all'); + +env.Alias('install', '$prefix') diff --git a/modules/remote-thread/c++/SConscript b/modules/remote-thread/c++/SConscript new file mode 100644 index 0000000..6194362 --- /dev/null +++ b/modules/remote-thread/c++/SConscript @@ -0,0 +1,38 @@ +#!/bin/false + +import os +import os.path +import glob + + +Import('env') + +dir_path = Dir('.').abspath + +# Environment for base library +thread_env = env.Clone(); + +thread_env.sources = sorted(glob.glob(dir_path + "/*.cpp")) +thread_env.headers = sorted(glob.glob(dir_path + "/*.hpp")) + +env.sources += thread_env.sources; +env.headers += thread_env.headers; + +## Shared lib +objects_shared = [] +thread_env.add_source_files(objects_shared, thread_env.sources, shared=True); +env.library_shared = thread_env.SharedLibrary('#build/forstio-thread', [objects_shared]); + +## Static lib +objects_static = [] +thread_env.add_source_files(objects_static, thread_env.sources, shared=False); +env.library_static = thread_env.StaticLibrary('#build/forstio-thread', [objects_static]); + +# Set Alias +env.Alias('library_thread', [env.library_shared, env.library_static]); + +env.targets += ['library_thread']; + +# Install +env.Install('$prefix/lib/', [env.library_shared, env.library_static]); +env.Install('$prefix/include/forstio/thread/', [thread_env.headers]); diff --git a/modules/remote-thread/c++/remote.hpp b/modules/remote-thread/c++/remote.hpp new file mode 100644 index 0000000..39c64a6 --- /dev/null +++ b/modules/remote-thread/c++/remote.hpp @@ -0,0 +1,140 @@ +#pragma once + +#include + +namespace saw { +/** + * ### Device ### + * Device acts a launcher? + * + * Acts a logical device. + * Though logical devices are not findable by an address as of now. + * + * Generally a device represents some info about the remote object? + * But what exactly? Does it store capabilities? + * + * In that case I'd prefer it has compile time information about + * those. + * + * ### RpcServer ### + * Should always be created on the side which it is run on. + * For SYCL it's kernel launches, so it's created on the local + * thread. + * For Threads it's supposed to be created on the remote thread. + * How do I solve this cleanly? + * Technically the server shouldn't know about the device. + * It should register with an authority, so it gets requests + * though. + */ +namespace rmt { +struct Thread {}; +} + +namespace impl { +template +class thread_rpc_communication_handler final { +private: + std::mutex mut_; + + using FunctionT = std::function(rpc_server&)>; + std::deque dispatches_; + + // TODO Need a send + receive + erase request queue + // std::deque; +public: + thread_rpc_communication_handler() = default; + + template + error_or call(id dat_id){ + std::lock_guard lock{mut_}; + + dispatches_.emplace_back([dat_id](rpc_server& srv){ + srv.template call(dat_id); + }); + } + + error_or run_next_dispatch(rpc_server& srv){ + std::lock_guard lock{mut_}; + if(dispatches_.empty()){ + return make_error("Dispatch Queue is empty"); + } + + ref front{dispatches_.front()}; + + front()(); + } +}; + +} + +template +class rpc_server { +private: + our> comms_; +public: +}; + +template +class rpc_client { +private: + our> comms_; +public: + rpc_client(our> comms__): + comms_{std::move(comms__)} + {} +}; + +/** + * A device representing a remote thread. Technically it's + * a logical distinction and not a physical. + */ +template<> +class device final { +private: + event_loop ev_loop_; + bool keep_running_; + std::function run_func_; + + // std::vector()>> func_calls_; + + std::thread thread_; + + void run(){ + wait_scope wait{ev_loop_}; + + while(keep_running_){ + run_func_(); + wait.wait(std::chrono::seconds{16u}); + } + + wait.poll(); + } +public: + template + device(Func func): + ev_loop_{}, + keep_running_{true}, + run_func_{std::move(func)} + thread_{&device::run, this}, + {} + + void stop(){ + keep_running_ = false; + } +}; + +template<> +class remote final { + private: +public: + remote() = default; + + conveyor>> resolve_address(){ + return heap>(*this); + } + + device connect_device(const remote_address& ){ + return {}; + } +}; +} diff --git a/modules/remote-thread/examples/SConscript b/modules/remote-thread/examples/SConscript new file mode 100644 index 0000000..df8e0c6 --- /dev/null +++ b/modules/remote-thread/examples/SConscript @@ -0,0 +1,32 @@ +#!/bin/false + +import os +import os.path +import glob + + +Import('env') + +dir_path = Dir('.').abspath + +# Environment for base library +examples_env = env.Clone(); + +examples_env.sources = sorted(glob.glob(dir_path + "/*.cpp")) +examples_env.headers = sorted(glob.glob(dir_path + "/*.hpp")) + +env.sources += examples_env.sources; +env.headers += examples_env.headers; + +objects_static = [] + +# Set Alias +env.examples = [ +#, examples_env.echo_server +]; +env.Alias('examples', env.examples); + +if env["build_examples"]: + env.targets += ['examples']; + env.Install('$prefix/bin/', env.examples); +#endif diff --git a/modules/remote-thread/tests/SConscript b/modules/remote-thread/tests/SConscript new file mode 100644 index 0000000..f8ffc92 --- /dev/null +++ b/modules/remote-thread/tests/SConscript @@ -0,0 +1,31 @@ +#!/bin/false + +import os +import os.path +import glob + + +Import('env') + +dir_path = Dir('.').abspath + +# Environment for base library +test_cases_env = env.Clone(); + +test_cases_env.Append(LIBS=['forstio-test']); + +test_cases_env.sources = sorted(glob.glob(dir_path + "/*.cpp")) +test_cases_env.headers = sorted(glob.glob(dir_path + "/*.hpp")) + +env.sources += test_cases_env.sources; +env.headers += test_cases_env.headers; + +objects_static = [] +test_cases_env.add_source_files(objects_static, test_cases_env.sources, shared=False); +test_cases_env.program = test_cases_env.Program('#bin/tests', [objects_static, env.library_static]); + +# Set Alias +env.Alias('test', test_cases_env.program); +env.Alias('check', test_cases_env.program); + +env.targets += ['test','check']; diff --git a/modules/thread/.nix/derivation.nix b/modules/thread/.nix/derivation.nix deleted file mode 100644 index 9175d6a..0000000 --- a/modules/thread/.nix/derivation.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib -, stdenv -, scons -, clang-tools -, version -, forstio -, build_examples ? "false" -}: - -stdenv.mkDerivation { - pname = "forstio-thread"; - inherit version; - src = ./..; - - enableParallelBuilding = true; - - nativeBuildInputs = [ - scons - clang-tools - ]; - - buildInputs = [ - forstio.core - forstio.async - forstio.io - forstio.codec - forstio.io_codec - ]; - - outputs = [ - "out" - "dev" - ]; - - buildPhase = '' - scons build_examples=${build_examples} - ''; - - installPhase = '' - scons prefix=$out build_examples=${build_examples} install - ''; -} diff --git a/modules/thread/SConstruct b/modules/thread/SConstruct deleted file mode 100644 index fe16748..0000000 --- a/modules/thread/SConstruct +++ /dev/null @@ -1,82 +0,0 @@ -#!/usr/bin/env python3 - -import sys -import os -import os.path -import glob -import re - - -if sys.version_info < (3,): - def isbasestring(s): - return isinstance(s,basestring) -else: - def isbasestring(s): - return isinstance(s, (str,bytes)) - -def add_kel_source_files(self, sources, filetype, lib_env=None, shared=False, target_post=""): - - if isbasestring(filetype): - dir_path = self.Dir('.').abspath - filetype = sorted(glob.glob(dir_path+"/"+filetype)) - - for path in filetype: - target_name = re.sub( r'(.*?)(\.cpp|\.c\+\+)', r'\1' + target_post, path ) - if shared: - target_name+='.os' - sources.append( self.SharedObject( target=target_name, source=path ) ) - else: - target_name+='.o' - sources.append( self.StaticObject( target=target_name, source=path ) ) - pass - -def isAbsolutePath(key, dirname, env): - assert os.path.isabs(dirname), "%r must have absolute path syntax" % (key,) - -env_vars = Variables( - args=ARGUMENTS -) - -env_vars.Add( - BoolVariable('build_examples', - help='Build examples', - default=False - ) -); - -env_vars.Add('prefix', - help='Installation target location of build results and headers', - default='/usr/local/', - validator=isAbsolutePath -); - -env=Environment(ENV=os.environ, variables=env_vars, CPPPATH=[], - CXX=['c++'], - CPPDEFINES=['SAW_UNIX'], - CXXFLAGS=['-std=c++20','-g','-Wall','-Wextra'], - LIBS=[ - 'forstio-core', - 'forstio-async', - 'forstio-io', - 'forstio-codec', - 'pthread' - ] -); -env.__class__.add_source_files = add_kel_source_files -env.Tool('compilation_db'); -env.cdb = env.CompilationDatabase('compile_commands.json'); - -env.objects = []; -env.sources = []; -env.headers = []; -env.targets = []; - -Export('env') -SConscript('c++/SConscript') -SConscript('examples/SConscript') - -env.Alias('cdb', env.cdb); -env.Alias('all', [env.targets]); -env.Default('all'); - -env.Alias('install', '$prefix') diff --git a/modules/thread/c++/SConscript b/modules/thread/c++/SConscript deleted file mode 100644 index 6194362..0000000 --- a/modules/thread/c++/SConscript +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/false - -import os -import os.path -import glob - - -Import('env') - -dir_path = Dir('.').abspath - -# Environment for base library -thread_env = env.Clone(); - -thread_env.sources = sorted(glob.glob(dir_path + "/*.cpp")) -thread_env.headers = sorted(glob.glob(dir_path + "/*.hpp")) - -env.sources += thread_env.sources; -env.headers += thread_env.headers; - -## Shared lib -objects_shared = [] -thread_env.add_source_files(objects_shared, thread_env.sources, shared=True); -env.library_shared = thread_env.SharedLibrary('#build/forstio-thread', [objects_shared]); - -## Static lib -objects_static = [] -thread_env.add_source_files(objects_static, thread_env.sources, shared=False); -env.library_static = thread_env.StaticLibrary('#build/forstio-thread', [objects_static]); - -# Set Alias -env.Alias('library_thread', [env.library_shared, env.library_static]); - -env.targets += ['library_thread']; - -# Install -env.Install('$prefix/lib/', [env.library_shared, env.library_static]); -env.Install('$prefix/include/forstio/thread/', [thread_env.headers]); diff --git a/modules/thread/c++/remote.hpp b/modules/thread/c++/remote.hpp deleted file mode 100644 index 39c64a6..0000000 --- a/modules/thread/c++/remote.hpp +++ /dev/null @@ -1,140 +0,0 @@ -#pragma once - -#include - -namespace saw { -/** - * ### Device ### - * Device acts a launcher? - * - * Acts a logical device. - * Though logical devices are not findable by an address as of now. - * - * Generally a device represents some info about the remote object? - * But what exactly? Does it store capabilities? - * - * In that case I'd prefer it has compile time information about - * those. - * - * ### RpcServer ### - * Should always be created on the side which it is run on. - * For SYCL it's kernel launches, so it's created on the local - * thread. - * For Threads it's supposed to be created on the remote thread. - * How do I solve this cleanly? - * Technically the server shouldn't know about the device. - * It should register with an authority, so it gets requests - * though. - */ -namespace rmt { -struct Thread {}; -} - -namespace impl { -template -class thread_rpc_communication_handler final { -private: - std::mutex mut_; - - using FunctionT = std::function(rpc_server&)>; - std::deque dispatches_; - - // TODO Need a send + receive + erase request queue - // std::deque; -public: - thread_rpc_communication_handler() = default; - - template - error_or call(id dat_id){ - std::lock_guard lock{mut_}; - - dispatches_.emplace_back([dat_id](rpc_server& srv){ - srv.template call(dat_id); - }); - } - - error_or run_next_dispatch(rpc_server& srv){ - std::lock_guard lock{mut_}; - if(dispatches_.empty()){ - return make_error("Dispatch Queue is empty"); - } - - ref front{dispatches_.front()}; - - front()(); - } -}; - -} - -template -class rpc_server { -private: - our> comms_; -public: -}; - -template -class rpc_client { -private: - our> comms_; -public: - rpc_client(our> comms__): - comms_{std::move(comms__)} - {} -}; - -/** - * A device representing a remote thread. Technically it's - * a logical distinction and not a physical. - */ -template<> -class device final { -private: - event_loop ev_loop_; - bool keep_running_; - std::function run_func_; - - // std::vector()>> func_calls_; - - std::thread thread_; - - void run(){ - wait_scope wait{ev_loop_}; - - while(keep_running_){ - run_func_(); - wait.wait(std::chrono::seconds{16u}); - } - - wait.poll(); - } -public: - template - device(Func func): - ev_loop_{}, - keep_running_{true}, - run_func_{std::move(func)} - thread_{&device::run, this}, - {} - - void stop(){ - keep_running_ = false; - } -}; - -template<> -class remote final { - private: -public: - remote() = default; - - conveyor>> resolve_address(){ - return heap>(*this); - } - - device connect_device(const remote_address& ){ - return {}; - } -}; -} diff --git a/modules/thread/examples/SConscript b/modules/thread/examples/SConscript deleted file mode 100644 index df8e0c6..0000000 --- a/modules/thread/examples/SConscript +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/false - -import os -import os.path -import glob - - -Import('env') - -dir_path = Dir('.').abspath - -# Environment for base library -examples_env = env.Clone(); - -examples_env.sources = sorted(glob.glob(dir_path + "/*.cpp")) -examples_env.headers = sorted(glob.glob(dir_path + "/*.hpp")) - -env.sources += examples_env.sources; -env.headers += examples_env.headers; - -objects_static = [] - -# Set Alias -env.examples = [ -#, examples_env.echo_server -]; -env.Alias('examples', env.examples); - -if env["build_examples"]: - env.targets += ['examples']; - env.Install('$prefix/bin/', env.examples); -#endif diff --git a/modules/thread/tests/SConscript b/modules/thread/tests/SConscript deleted file mode 100644 index f8ffc92..0000000 --- a/modules/thread/tests/SConscript +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/false - -import os -import os.path -import glob - - -Import('env') - -dir_path = Dir('.').abspath - -# Environment for base library -test_cases_env = env.Clone(); - -test_cases_env.Append(LIBS=['forstio-test']); - -test_cases_env.sources = sorted(glob.glob(dir_path + "/*.cpp")) -test_cases_env.headers = sorted(glob.glob(dir_path + "/*.hpp")) - -env.sources += test_cases_env.sources; -env.headers += test_cases_env.headers; - -objects_static = [] -test_cases_env.add_source_files(objects_static, test_cases_env.sources, shared=False); -test_cases_env.program = test_cases_env.Program('#bin/tests', [objects_static, env.library_static]); - -# Set Alias -env.Alias('test', test_cases_env.program); -env.Alias('check', test_cases_env.program); - -env.targets += ['test','check']; -- cgit v1.2.3