Sha256: 014839a24c59d6a2a3ab365ad892c7b31e1761f3280fc1bdbc5e0279953833e7
Contents?: true
Size: 394 Bytes
Versions: 3
Compression:
Stored size: 394 Bytes
Contents
require "mkmf" EXT_H = %w[ arith_utils.h congruences.h prime_gen.h ] EXT_C = %w[ arith_utils.c congruence_solver.c congruences.c prime_gen.c ] omp_opt = arg_config("--openmp") if omp_opt if have_header("omp.h") $CFLAGS += " " + omp_opt $DLDFLAGS += " " + omp_opt else raise "OpenMP unsupported by this compiler" end end create_makefile "congruence_solver/congruence_solver"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
congruence_solver-0.5.2 | ext/congruence_solver/extconf.rb |
congruence_solver-0.5.1 | ext/congruence_solver/extconf.rb |
congruence_solver-0.5.0 | ext/congruence_solver/extconf.rb |