Python Scripting for any OS #1
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: qbnetworks/itaco#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
qbnetworks/.profile#1 (comment)
What is the best way to buld code inside a GNU/Linux cluster with GNU Emacs
To build code inside a GNU/Linux cluster using GNU Emacs, you can combine Emacs' powerful editing and scripting capabilities with distributed compilation tools like
distcc
,OpenMPI
, or even custom shell orchestration. Here's a modular approach tailored for your federative vision:🧠 1. Cluster Setup: Distributed Compilation
Use tools like:
distcc
: Distributes C/C++ compilation across multiple machines.OpenMPI
/mpicc
: For parallel builds in scientific computing.make -j
with SSH orchestration: For custom workflows.Set up your cluster nodes with SSH access and shared build environments.
🛠️ 2. Emacs Configuration for Cluster Builds
a. Use
compile
orM-x compile
In Emacs, run:
Then enter your custom build command:
You can also define this in your
.emacs
orinit.el
:b. Use
use-package
for build toolsTo integrate build tools:
🔗 Emacs use-package essentials (video)
🧩 3. Remote Build Integration
Use Emacs packages like:
tramp
: Edit and compile files over SSH.projectile
: Manage multi-node projects.magit
: Git integration for distributed codebases.Example with
tramp
:Then run
M-x compile
as usual.📦 4. Federative Manifest Integration
You can define build tasks in a YAML or Org-mode manifest:
Or use
org-babel
to orchestrate builds across nodes.📚 Resources
Would you like to federate this into an FX module where each node has its own Emacs config, build role, and attribution? We could define a
fx.build.cluster
schema and make it AGPLv3-compliant.compare distcc and bazel
Here's a comparison of
distcc
andBazel
, two tools that support distributed builds—but with very different philosophies and capabilities:⚔️ distcc vs Bazel: Core Differences
distccd
)make
,autotools
, etc.make
,ccache
, etc.🧠 Philosophical Contrast
As one developer put it:
🧩 Use Case Guidance
Use distcc if:
Use Bazel if:
Would you like a federative wrapper that lets you switch between
distcc
andbazel
based on project metadata? We could call itfx.build.dispatch
and embed attribution logic for AGPLv3 compliance.https://source.masscollabs.xyz/amassivus/babel