mirror of
https://github.com/clearlinux/graphene.git
synced 2026-08-20 12:45:57 +00:00
17ab04db59
Instead of 'loader.debug_type', introduce 'loader.log_level' and 'loader.log_file', along with a set of definitions for logging at a chosen level. For now, the call sites keep using the legacy macros (SGX_DBG and debug()), because converting them all will conflict with other big changes in the code base. The existing LibOS calls are assumed to be at 'info' level.
Curl
This directory contains a Makefile and template manifest to run curl on Graphene. We tested it with
curl 7.47.0 on Ubuntu 16.04 and with curl 7.58.0 on Ubuntu 18.04. This example uses curl installed
on the system instead of compiling from source as some of the other examples do. On Ubuntu 16.04,
please make sure that libnss-mdns is installed and if not, run the following command:
sudo apt-get install libnss-mdns
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. The regression test downloads the index page of example.com, thus it requires Internet
connection.