mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Required changes resolved
This commit is contained in:
parent
905f86a0ab
commit
531850afc2
|
@ -4,7 +4,7 @@ Build System: CMake
|
||||||
OS: Linux
|
OS: Linux
|
||||||
|
|
||||||
### Check out the PFFFT library & CMake set up
|
### Check out the PFFFT library & CMake set up
|
||||||
`git clone https://github.com/doinachiroiu/sandboxed-api/tree/master/oss-internship-2020/pffft`
|
`git checkout -b master`
|
||||||
|
|
||||||
`git submodule update --init --recursive`
|
`git submodule update --init --recursive`
|
||||||
|
|
||||||
|
|
|
@ -86,6 +86,8 @@ void ShowOutput(const char* name, int n, int complex, float flops, float t0,
|
||||||
}
|
}
|
||||||
|
|
||||||
absl::Status PffftMain() {
|
absl::Status PffftMain() {
|
||||||
|
LOG(INFO) << "Initializing sandbox...\n";
|
||||||
|
|
||||||
PffftSapiSandbox sandbox;
|
PffftSapiSandbox sandbox;
|
||||||
SAPI_RETURN_IF_ERROR(sandbox.Init());
|
SAPI_RETURN_IF_ERROR(sandbox.Init());
|
||||||
|
|
||||||
|
@ -201,8 +203,6 @@ int main(int argc, char* argv[]) {
|
||||||
|
|
||||||
gflags::ParseCommandLineFlags(&argc, &argv, true);
|
gflags::ParseCommandLineFlags(&argc, &argv, true);
|
||||||
|
|
||||||
LOG(INFO) << "Initializing sandbox...\n";
|
|
||||||
|
|
||||||
if (absl::Status status = PffftMain(); !status.ok()) {
|
if (absl::Status status = PffftMain(); !status.ok()) {
|
||||||
LOG(ERROR) << "Initialization failed: " << status.ToString();
|
LOG(ERROR) << "Initialization failed: " << status.ToString();
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user