From 2e74dfd96fb97b03bf44035d7a3864066af4ece8 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 29 Nov 2025 13:58:35 -0500 Subject: chore: Redesigned sysroot repository. Signed-off-by: Amlal El Mahrouss --- tools/.keep | 0 tools/steps.cc | 36 ------------------------------------ tools/steps.toml | 8 -------- 3 files changed, 44 deletions(-) delete mode 100644 tools/.keep delete mode 100644 tools/steps.cc delete mode 100644 tools/steps.toml (limited to 'tools') diff --git a/tools/.keep b/tools/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/tools/steps.cc b/tools/steps.cc deleted file mode 100644 index ccad634..0000000 --- a/tools/steps.cc +++ /dev/null @@ -1,36 +0,0 @@ -/* =========================================================== - - Copyright (C) 2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license - -=========================================================== */ - -#include -#include - -/// =========================================================== /// -/// Use operators from steps namespace to compare steps records. -/// =========================================================== /// -using namespace ocl::steps::operators; - -const auto kStepsFileRoot = "/system/install.stp"; - -/// =========================================================== /// -/// @brief Main function for running steps on NeKernel. -/// =========================================================== /// -int main(void) { - ocl::io::print("steps: running steps for program...\n"); - - std::ifstream file(kStepsFileRoot); - ocl::steps::record steps; - - file >> steps; - - if (!ocl::steps::is_valid(steps)) - return EXIT_FAILURE; - - /// AMLALE: Read steps from file and process them. - - ocl::io::print("steps: done.\n"); - - return EXIT_SUCCESS; -} \ No newline at end of file diff --git a/tools/steps.toml b/tools/steps.toml deleted file mode 100644 index 8de64fc..0000000 --- a/tools/steps.toml +++ /dev/null @@ -1,8 +0,0 @@ -compiler_path = "clang++" -compiler_std = "c++20" -headers_path = [ "../lib", "../lib/libocl/dev/", "/opt/homebrew/Cellar/boost/1.89.0/include" ] -sources_path = [ "steps.cc" ] -output_name = "steps-sysroot" -compiler_flags = [ "-fPIC" ] -cpp_macros = [ "__NE_STEPS__" ] -run_after_build = false -- cgit v1.2.3