Skip to content

Instantly share code, notes, and snippets.

Introduction

This document introduces the cmake-based build system for sac2c and describes the intended way of using it. CMake is cross-platform family of tools designed to build, test and package software. One could think of it as a replacement of the existing autotools + Makefiles with a unified solution.

Trade-offs

@ashinkarov
ashinkarov / a.c
Last active December 28, 2015 14:19
OpenMP trivial benchmark
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <time.h>
#define MILLION 1000000
#define N 50000000
static inline int64_t
time_elapsed (struct timespec a, struct timespec b)