Files
graphene/Examples/nodejs
Stefan Berger 206eb81eec [Makefiles] Get arch and distro specific vars from Makefile.configs
Extend Makefile.configs and define several variables for make to use
derived from 'gcc -dumpmachine'. In particular:
- ARCH as the architecture, e.g., x86_64
- ARCH_LONG as the long version of the architecture, e.g., x86_64-linux-gnu
- ARCH_LIBDIR as the directory where libraries are located,
  e.g., /lib/x86_64-linux-gnu

In Makefiles and manifest templates, replace the hard-coded
x86_64-linux_gnu and /lib/x86_64-linux-gnu through these variables.
Extend the already existing sed scripts to replace the necessary
variables.
2020-05-01 20:54:04 +00:00
..

Node.js

This directory contains a Makefile and template manifest to run Node.js on Graphene. We tested it with Node.js 8.10.0 on Ubuntu 18.04. This example uses Node.js installed on the system instead of compiling from source as some of the other examples do.

The Makefile and the template manifest contain comments to hopefully make them easier to understand.

Quick Start

To run the regression test execute make check. To do the same for SGX, execute make SGX=1 check.