mesh-rb 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/ext/mesh/extconf.rb +22 -4
- data/ext/mesh/mesh.tar.gz +0 -0
- data/lib/mesh/version.rb +1 -1
- data/mesh.gemspec +3 -2
- metadata +4 -120
- data/ext/mesh/mesh/.bazelrc +0 -20
- data/ext/mesh/mesh/.bazelversion +0 -1
- data/ext/mesh/mesh/.clang-format +0 -15
- data/ext/mesh/mesh/.dockerignore +0 -5
- data/ext/mesh/mesh/.editorconfig +0 -16
- data/ext/mesh/mesh/.gitattributes +0 -4
- data/ext/mesh/mesh/.github/workflows/main.yml +0 -144
- data/ext/mesh/mesh/.gitignore +0 -51
- data/ext/mesh/mesh/AUTHORS +0 -5
- data/ext/mesh/mesh/CMakeLists.txt +0 -270
- data/ext/mesh/mesh/CODE_OF_CONDUCT.md +0 -77
- data/ext/mesh/mesh/Dockerfile +0 -30
- data/ext/mesh/mesh/LICENSE +0 -201
- data/ext/mesh/mesh/Makefile +0 -81
- data/ext/mesh/mesh/README.md +0 -97
- data/ext/mesh/mesh/WORKSPACE +0 -50
- data/ext/mesh/mesh/bazel +0 -350
- data/ext/mesh/mesh/mesh-pldi19-powers.pdf +0 -0
- data/ext/mesh/mesh/src/BUILD +0 -222
- data/ext/mesh/mesh/src/CMakeLists.txt +0 -85
- data/ext/mesh/mesh/src/bitmap.h +0 -590
- data/ext/mesh/mesh/src/cheap_heap.h +0 -170
- data/ext/mesh/mesh/src/common.h +0 -377
- data/ext/mesh/mesh/src/copts.bzl +0 -31
- data/ext/mesh/mesh/src/d_assert.cc +0 -75
- data/ext/mesh/mesh/src/fixed_array.h +0 -124
- data/ext/mesh/mesh/src/global_heap.cc +0 -547
- data/ext/mesh/mesh/src/global_heap.h +0 -569
- data/ext/mesh/mesh/src/gnu_wrapper.cc +0 -75
- data/ext/mesh/mesh/src/internal.h +0 -356
- data/ext/mesh/mesh/src/libmesh.cc +0 -239
- data/ext/mesh/mesh/src/mac_wrapper.cc +0 -528
- data/ext/mesh/mesh/src/measure_rss.cc +0 -44
- data/ext/mesh/mesh/src/measure_rss.h +0 -20
- data/ext/mesh/mesh/src/meshable_arena.cc +0 -776
- data/ext/mesh/mesh/src/meshable_arena.h +0 -309
- data/ext/mesh/mesh/src/meshing.h +0 -60
- data/ext/mesh/mesh/src/mini_heap.h +0 -532
- data/ext/mesh/mesh/src/mmap_heap.h +0 -104
- data/ext/mesh/mesh/src/one_way_mmap_heap.h +0 -77
- data/ext/mesh/mesh/src/partitioned_heap.h +0 -111
- data/ext/mesh/mesh/src/plasma/mesh.h +0 -33
- data/ext/mesh/mesh/src/real.cc +0 -52
- data/ext/mesh/mesh/src/real.h +0 -36
- data/ext/mesh/mesh/src/rng/mwc.h +0 -296
- data/ext/mesh/mesh/src/rng/mwc64.h +0 -58
- data/ext/mesh/mesh/src/rpl_printf.c +0 -1991
- data/ext/mesh/mesh/src/runtime.cc +0 -393
- data/ext/mesh/mesh/src/runtime.h +0 -114
- data/ext/mesh/mesh/src/shuffle_vector.h +0 -287
- data/ext/mesh/mesh/src/size_classes.def +0 -251
- data/ext/mesh/mesh/src/static/if.h +0 -36
- data/ext/mesh/mesh/src/static/log.h +0 -43
- data/ext/mesh/mesh/src/testing/benchmark/local_refill.cc +0 -103
- data/ext/mesh/mesh/src/testing/big-alloc.c +0 -28
- data/ext/mesh/mesh/src/testing/fragmenter.cc +0 -128
- data/ext/mesh/mesh/src/testing/global-large-stress.cc +0 -25
- data/ext/mesh/mesh/src/testing/local-alloc.c +0 -16
- data/ext/mesh/mesh/src/testing/meshing_benchmark.cc +0 -189
- data/ext/mesh/mesh/src/testing/thread.cc +0 -35
- data/ext/mesh/mesh/src/testing/unit/alignment.cc +0 -56
- data/ext/mesh/mesh/src/testing/unit/bitmap_test.cc +0 -274
- data/ext/mesh/mesh/src/testing/unit/concurrent_mesh_test.cc +0 -185
- data/ext/mesh/mesh/src/testing/unit/mesh_test.cc +0 -143
- data/ext/mesh/mesh/src/testing/unit/rng_test.cc +0 -22
- data/ext/mesh/mesh/src/testing/unit/size_class_test.cc +0 -66
- data/ext/mesh/mesh/src/testing/unit/triple_mesh_test.cc +0 -285
- data/ext/mesh/mesh/src/testing/userfaultfd-kernel-copy.cc +0 -164
- data/ext/mesh/mesh/src/thread_local_heap.cc +0 -163
- data/ext/mesh/mesh/src/thread_local_heap.h +0 -268
- data/ext/mesh/mesh/src/wrapper.cc +0 -433
- data/ext/mesh/mesh/support/export_mesh.cmake +0 -28
- data/ext/mesh/mesh/support/gen-size-classes +0 -57
- data/ext/mesh/mesh/support/install_all_configs +0 -33
- data/ext/mesh/mesh/support/remove_export_mesh.cmake +0 -48
- data/ext/mesh/mesh/support/update-bazelisk +0 -8
- data/ext/mesh/mesh/theory/32m80.png +0 -0
- data/ext/mesh/mesh/theory/64m80ind.png +0 -0
- data/ext/mesh/mesh/theory/bound_comparison.py +0 -67
- data/ext/mesh/mesh/theory/bounds/impdeg+1 +0 -135
- data/ext/mesh/mesh/theory/choose.py +0 -43
- data/ext/mesh/mesh/theory/common.py +0 -42
- data/ext/mesh/mesh/theory/compute_exp_Y.py +0 -134
- data/ext/mesh/mesh/theory/createRandomString.py +0 -69
- data/ext/mesh/mesh/theory/deg_bound_check.py +0 -100
- data/ext/mesh/mesh/theory/degcheck.py +0 -47
- data/ext/mesh/mesh/theory/dumps/32,1,80,dumb.txt +0 -81
- data/ext/mesh/mesh/theory/dumps/32,2,80,dumb.txt +0 -81
- data/ext/mesh/mesh/theory/dumps/32,3,80,dumb.txt +0 -81
- data/ext/mesh/mesh/theory/dumps/32,4,80,dumb.txt +0 -81
- data/ext/mesh/mesh/theory/dumps/32,5,80,dumb.txt +0 -81
- data/ext/mesh/mesh/theory/dumps/32,6,80,dumb.txt +0 -81
- data/ext/mesh/mesh/theory/dumps/32,7,80,dumb.txt +0 -81
- data/ext/mesh/mesh/theory/dumps/32,8,80,dumb.txt +0 -81
- data/ext/mesh/mesh/theory/dumps/32,9,80,dumb.txt +0 -81
- data/ext/mesh/mesh/theory/experiment.py +0 -303
- data/ext/mesh/mesh/theory/experiment_raw_results/.gitignore +0 -0
- data/ext/mesh/mesh/theory/greedy_experiment.py +0 -66
- data/ext/mesh/mesh/theory/greedy_experiment_copy.py +0 -46
- data/ext/mesh/mesh/theory/greedy_experiment_q.py +0 -75
- data/ext/mesh/mesh/theory/makeGraph.py +0 -64
- data/ext/mesh/mesh/theory/manyreps.png +0 -0
- data/ext/mesh/mesh/theory/manystrings.png +0 -0
- data/ext/mesh/mesh/theory/match_vs_color_experiment.py +0 -94
- data/ext/mesh/mesh/theory/maxmatch_vs_E[Y].py +0 -162
- data/ext/mesh/mesh/theory/maxmatch_vs_greedymatch.py +0 -96
- data/ext/mesh/mesh/theory/maxvdeg+1imp++32,80.png +0 -0
- data/ext/mesh/mesh/theory/mesh_util.py +0 -322
- data/ext/mesh/mesh/theory/meshers.py +0 -452
- data/ext/mesh/mesh/theory/meshingBenchmark.py +0 -96
- data/ext/mesh/mesh/theory/occupancyComparison.py +0 -133
- data/ext/mesh/mesh/theory/randmatch_vs_greedymatch.py +0 -97
- data/ext/mesh/mesh/theory/randmatch_vs_greedymatch_q.py +0 -103
- data/ext/mesh/mesh/theory/randmatch_vs_greedymatch_time.py +0 -117
- data/ext/mesh/mesh/theory/read_mesh_dump.py +0 -82
- data/ext/mesh/mesh/theory/test.py +0 -70
- data/ext/mesh/mesh/tools/bazel +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90061d1d796dbad7b02e1336e82fa3f24d8736beb313f373e52d7855313289de
|
4
|
+
data.tar.gz: 64724426d5f4fb35515f0b847f31f33cd94d316dc45b229eab68c43c5c04aac0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfcdef8c6a9f211b40163b4dacd0fdb9a9131eaf10d17742e92a4e5c2af9fca715d2b9fdcae8335e34575a6740b6c77b33a6354594c91be3868ffc0b1e420204
|
7
|
+
data.tar.gz: ab67bd57944ebaf3d23f33a6293cee8c5eb7e019ba6f5ce7bfcde1dec930f8692f17ba8f226344c3699e0e830c13dfda401ad1830edc0da17903a971ec06059d
|
data/Gemfile.lock
CHANGED
data/ext/mesh/extconf.rb
CHANGED
@@ -1,13 +1,31 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
require 'mkmf'
|
2
3
|
require 'rbconfig'
|
3
4
|
|
4
5
|
$stdout.sync = true
|
6
|
+
package = "mesh"
|
5
7
|
|
6
8
|
def sys(cmd)
|
7
9
|
ret = system cmd
|
8
|
-
raise
|
10
|
+
raise "system command failed #{cmd}" unless ret
|
9
11
|
end
|
10
12
|
|
11
|
-
|
12
|
-
|
13
|
-
|
13
|
+
src_dir = File.expand_path(File.dirname(__FILE__))
|
14
|
+
curr_dir = Dir.pwd
|
15
|
+
Dir.chdir File.dirname(__FILE__) do
|
16
|
+
FileUtils.remove_dir(package, force = true)
|
17
|
+
|
18
|
+
sys "tar -xzvf #{package}.tar.gz"
|
19
|
+
Dir.chdir(package) do
|
20
|
+
sys 'make'
|
21
|
+
sys 'sudo make install'
|
22
|
+
sys "cp -r src/ #{src_dir}"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
Dir.chdir curr_dir
|
26
|
+
|
27
|
+
include_dir = File.dirname(__FILE__ ) + "/#{package}/src/"
|
28
|
+
$CFLAGS << %[ -std=c++17 -Wall -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT]
|
29
|
+
|
30
|
+
create_makefile('mesh')
|
31
|
+
|
Binary file
|
data/lib/mesh/version.rb
CHANGED
data/mesh.gemspec
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
$:.push File.expand_path('../lib', __FILE__)
|
2
|
+
require 'mesh/version'
|
2
3
|
|
3
4
|
Gem::Specification.new do |s|
|
4
5
|
s.name = 'mesh-rb'
|
5
|
-
s.version =
|
6
|
-
s.summary = '
|
6
|
+
s.version = Mesh::VERSION
|
7
|
+
s.summary = 'Injecting Mesh allocator into ruby apps. Still under maintenance'
|
7
8
|
s.author = 'ThreadedStream'
|
8
9
|
s.extensions = ['ext/mesh/extconf.rb']
|
9
10
|
s.require_paths = ['lib']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mesh-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ThreadedStream
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|
@@ -28,123 +28,7 @@ files:
|
|
28
28
|
- Rakefile
|
29
29
|
- bin/mesh
|
30
30
|
- ext/mesh/extconf.rb
|
31
|
-
- ext/mesh/mesh
|
32
|
-
- ext/mesh/mesh/.bazelversion
|
33
|
-
- ext/mesh/mesh/.clang-format
|
34
|
-
- ext/mesh/mesh/.dockerignore
|
35
|
-
- ext/mesh/mesh/.editorconfig
|
36
|
-
- ext/mesh/mesh/.gitattributes
|
37
|
-
- ext/mesh/mesh/.github/workflows/main.yml
|
38
|
-
- ext/mesh/mesh/.gitignore
|
39
|
-
- ext/mesh/mesh/AUTHORS
|
40
|
-
- ext/mesh/mesh/CMakeLists.txt
|
41
|
-
- ext/mesh/mesh/CODE_OF_CONDUCT.md
|
42
|
-
- ext/mesh/mesh/Dockerfile
|
43
|
-
- ext/mesh/mesh/LICENSE
|
44
|
-
- ext/mesh/mesh/Makefile
|
45
|
-
- ext/mesh/mesh/README.md
|
46
|
-
- ext/mesh/mesh/WORKSPACE
|
47
|
-
- ext/mesh/mesh/bazel
|
48
|
-
- ext/mesh/mesh/mesh-pldi19-powers.pdf
|
49
|
-
- ext/mesh/mesh/src/BUILD
|
50
|
-
- ext/mesh/mesh/src/CMakeLists.txt
|
51
|
-
- ext/mesh/mesh/src/bitmap.h
|
52
|
-
- ext/mesh/mesh/src/cheap_heap.h
|
53
|
-
- ext/mesh/mesh/src/common.h
|
54
|
-
- ext/mesh/mesh/src/copts.bzl
|
55
|
-
- ext/mesh/mesh/src/d_assert.cc
|
56
|
-
- ext/mesh/mesh/src/fixed_array.h
|
57
|
-
- ext/mesh/mesh/src/global_heap.cc
|
58
|
-
- ext/mesh/mesh/src/global_heap.h
|
59
|
-
- ext/mesh/mesh/src/gnu_wrapper.cc
|
60
|
-
- ext/mesh/mesh/src/internal.h
|
61
|
-
- ext/mesh/mesh/src/libmesh.cc
|
62
|
-
- ext/mesh/mesh/src/mac_wrapper.cc
|
63
|
-
- ext/mesh/mesh/src/measure_rss.cc
|
64
|
-
- ext/mesh/mesh/src/measure_rss.h
|
65
|
-
- ext/mesh/mesh/src/meshable_arena.cc
|
66
|
-
- ext/mesh/mesh/src/meshable_arena.h
|
67
|
-
- ext/mesh/mesh/src/meshing.h
|
68
|
-
- ext/mesh/mesh/src/mini_heap.h
|
69
|
-
- ext/mesh/mesh/src/mmap_heap.h
|
70
|
-
- ext/mesh/mesh/src/one_way_mmap_heap.h
|
71
|
-
- ext/mesh/mesh/src/partitioned_heap.h
|
72
|
-
- ext/mesh/mesh/src/plasma/mesh.h
|
73
|
-
- ext/mesh/mesh/src/real.cc
|
74
|
-
- ext/mesh/mesh/src/real.h
|
75
|
-
- ext/mesh/mesh/src/rng/mwc.h
|
76
|
-
- ext/mesh/mesh/src/rng/mwc64.h
|
77
|
-
- ext/mesh/mesh/src/rpl_printf.c
|
78
|
-
- ext/mesh/mesh/src/runtime.cc
|
79
|
-
- ext/mesh/mesh/src/runtime.h
|
80
|
-
- ext/mesh/mesh/src/shuffle_vector.h
|
81
|
-
- ext/mesh/mesh/src/size_classes.def
|
82
|
-
- ext/mesh/mesh/src/static/if.h
|
83
|
-
- ext/mesh/mesh/src/static/log.h
|
84
|
-
- ext/mesh/mesh/src/testing/benchmark/local_refill.cc
|
85
|
-
- ext/mesh/mesh/src/testing/big-alloc.c
|
86
|
-
- ext/mesh/mesh/src/testing/fragmenter.cc
|
87
|
-
- ext/mesh/mesh/src/testing/global-large-stress.cc
|
88
|
-
- ext/mesh/mesh/src/testing/local-alloc.c
|
89
|
-
- ext/mesh/mesh/src/testing/meshing_benchmark.cc
|
90
|
-
- ext/mesh/mesh/src/testing/thread.cc
|
91
|
-
- ext/mesh/mesh/src/testing/unit/alignment.cc
|
92
|
-
- ext/mesh/mesh/src/testing/unit/bitmap_test.cc
|
93
|
-
- ext/mesh/mesh/src/testing/unit/concurrent_mesh_test.cc
|
94
|
-
- ext/mesh/mesh/src/testing/unit/mesh_test.cc
|
95
|
-
- ext/mesh/mesh/src/testing/unit/rng_test.cc
|
96
|
-
- ext/mesh/mesh/src/testing/unit/size_class_test.cc
|
97
|
-
- ext/mesh/mesh/src/testing/unit/triple_mesh_test.cc
|
98
|
-
- ext/mesh/mesh/src/testing/userfaultfd-kernel-copy.cc
|
99
|
-
- ext/mesh/mesh/src/thread_local_heap.cc
|
100
|
-
- ext/mesh/mesh/src/thread_local_heap.h
|
101
|
-
- ext/mesh/mesh/src/wrapper.cc
|
102
|
-
- ext/mesh/mesh/support/export_mesh.cmake
|
103
|
-
- ext/mesh/mesh/support/gen-size-classes
|
104
|
-
- ext/mesh/mesh/support/install_all_configs
|
105
|
-
- ext/mesh/mesh/support/remove_export_mesh.cmake
|
106
|
-
- ext/mesh/mesh/support/update-bazelisk
|
107
|
-
- ext/mesh/mesh/theory/32m80.png
|
108
|
-
- ext/mesh/mesh/theory/64m80ind.png
|
109
|
-
- ext/mesh/mesh/theory/bound_comparison.py
|
110
|
-
- ext/mesh/mesh/theory/bounds/impdeg+1
|
111
|
-
- ext/mesh/mesh/theory/choose.py
|
112
|
-
- ext/mesh/mesh/theory/common.py
|
113
|
-
- ext/mesh/mesh/theory/compute_exp_Y.py
|
114
|
-
- ext/mesh/mesh/theory/createRandomString.py
|
115
|
-
- ext/mesh/mesh/theory/deg_bound_check.py
|
116
|
-
- ext/mesh/mesh/theory/degcheck.py
|
117
|
-
- ext/mesh/mesh/theory/dumps/32,1,80,dumb.txt
|
118
|
-
- ext/mesh/mesh/theory/dumps/32,2,80,dumb.txt
|
119
|
-
- ext/mesh/mesh/theory/dumps/32,3,80,dumb.txt
|
120
|
-
- ext/mesh/mesh/theory/dumps/32,4,80,dumb.txt
|
121
|
-
- ext/mesh/mesh/theory/dumps/32,5,80,dumb.txt
|
122
|
-
- ext/mesh/mesh/theory/dumps/32,6,80,dumb.txt
|
123
|
-
- ext/mesh/mesh/theory/dumps/32,7,80,dumb.txt
|
124
|
-
- ext/mesh/mesh/theory/dumps/32,8,80,dumb.txt
|
125
|
-
- ext/mesh/mesh/theory/dumps/32,9,80,dumb.txt
|
126
|
-
- ext/mesh/mesh/theory/experiment.py
|
127
|
-
- ext/mesh/mesh/theory/experiment_raw_results/.gitignore
|
128
|
-
- ext/mesh/mesh/theory/greedy_experiment.py
|
129
|
-
- ext/mesh/mesh/theory/greedy_experiment_copy.py
|
130
|
-
- ext/mesh/mesh/theory/greedy_experiment_q.py
|
131
|
-
- ext/mesh/mesh/theory/makeGraph.py
|
132
|
-
- ext/mesh/mesh/theory/manyreps.png
|
133
|
-
- ext/mesh/mesh/theory/manystrings.png
|
134
|
-
- ext/mesh/mesh/theory/match_vs_color_experiment.py
|
135
|
-
- ext/mesh/mesh/theory/maxmatch_vs_E[Y].py
|
136
|
-
- ext/mesh/mesh/theory/maxmatch_vs_greedymatch.py
|
137
|
-
- ext/mesh/mesh/theory/maxvdeg+1imp++32,80.png
|
138
|
-
- ext/mesh/mesh/theory/mesh_util.py
|
139
|
-
- ext/mesh/mesh/theory/meshers.py
|
140
|
-
- ext/mesh/mesh/theory/meshingBenchmark.py
|
141
|
-
- ext/mesh/mesh/theory/occupancyComparison.py
|
142
|
-
- ext/mesh/mesh/theory/randmatch_vs_greedymatch.py
|
143
|
-
- ext/mesh/mesh/theory/randmatch_vs_greedymatch_q.py
|
144
|
-
- ext/mesh/mesh/theory/randmatch_vs_greedymatch_time.py
|
145
|
-
- ext/mesh/mesh/theory/read_mesh_dump.py
|
146
|
-
- ext/mesh/mesh/theory/test.py
|
147
|
-
- ext/mesh/mesh/tools/bazel
|
31
|
+
- ext/mesh/mesh.tar.gz
|
148
32
|
- lib/mesh/version.rb
|
149
33
|
- mesh.gemspec
|
150
34
|
homepage: https://github.com/ThreadedStream/mesh-rb
|
@@ -168,5 +52,5 @@ requirements: []
|
|
168
52
|
rubygems_version: 3.1.2
|
169
53
|
signing_key:
|
170
54
|
specification_version: 4
|
171
|
-
summary:
|
55
|
+
summary: Injecting Mesh allocator into ruby apps. Still under maintenance
|
172
56
|
test_files: []
|
data/ext/mesh/mesh/.bazelrc
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
# Copyright 2020 The Mesh Authors. All rights reserved.
|
2
|
-
# Use of this source code is governed by the Apache License,
|
3
|
-
# Version 2.0, that can be found in the LICENSE file.
|
4
|
-
|
5
|
-
build --cxxopt='-std=c++17'
|
6
|
-
#build --crosstool_top=@llvm_toolchain//:toolchain --copt=-D_LIBCPP_ENABLE_NODISCARD
|
7
|
-
build --strip=never
|
8
|
-
|
9
|
-
# largely from sorbet
|
10
|
-
build:debugsymbols --copt=-g3 --copt=-fstandalone-debug --copt=-fno-limit-debug-info
|
11
|
-
build:debugsymbols --linkopt=-g3 --linkopt=-fstandalone-debug --linkopt=-fno-limit-debug-info
|
12
|
-
build:debugsymbols --spawn_strategy=standalone
|
13
|
-
build:debugsymbols --genrule_strategy=standalone
|
14
|
-
|
15
|
-
build:disable-meshing --define disable_meshing=true
|
16
|
-
build:disable-randomization --define disable_randomization=true
|
17
|
-
build:shuffle-on-free --define shuffle_on_free=true
|
18
|
-
|
19
|
-
build:modern-amd64 --copt=-mavx --copt=-march=westmere
|
20
|
-
build:modern-amd64 --linkopt=-mavx --linkopt=-march=westmere
|
data/ext/mesh/mesh/.bazelversion
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
4.0.0
|
data/ext/mesh/mesh/.clang-format
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
BasedOnStyle: Google
|
2
|
-
ColumnLimit: 120
|
3
|
-
AlignConsecutiveAssignments: false
|
4
|
-
AlignConsecutiveDeclarations: false
|
5
|
-
AllowShortFunctionsOnASingleLine: false
|
6
|
-
AllowShortIfStatementsOnASingleLine: false
|
7
|
-
AllowShortLoopsOnASingleLine: false
|
8
|
-
IndentCaseLabels: false
|
9
|
-
AlwaysBreakTemplateDeclarations: true
|
10
|
-
AccessModifierOffset: -2
|
11
|
-
Standard: Cpp11
|
12
|
-
SortIncludes: false
|
13
|
-
|
14
|
-
DerivePointerAlignment: false
|
15
|
-
PointerAlignment: Right
|
data/ext/mesh/mesh/.dockerignore
DELETED
data/ext/mesh/mesh/.editorconfig
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
root = true
|
2
|
-
|
3
|
-
[*]
|
4
|
-
end_of_line = lf
|
5
|
-
insert_final_newline = true
|
6
|
-
trim_trailing_whitespace = true
|
7
|
-
charset = utf-8
|
8
|
-
indent_style = space
|
9
|
-
indent_size = 4
|
10
|
-
|
11
|
-
[Makefile]
|
12
|
-
indent_style = tab
|
13
|
-
|
14
|
-
[*.{c,cc,cpp,h,hh}]
|
15
|
-
indent_style = space
|
16
|
-
indent_size = 2
|
@@ -1,144 +0,0 @@
|
|
1
|
-
name: CI
|
2
|
-
on: [push]
|
3
|
-
jobs:
|
4
|
-
Ubuntu_cmake:
|
5
|
-
runs-on: ubuntu-latest
|
6
|
-
steps:
|
7
|
-
- uses: actions/checkout@v1
|
8
|
-
- name: Install required packages
|
9
|
-
run: |
|
10
|
-
sudo apt-get update
|
11
|
-
sudo apt-get -y install git gcc g++ make lcov wget libpthread-stubs0-dev
|
12
|
-
- name: Configure CMake
|
13
|
-
run: |
|
14
|
-
mkdir cmake
|
15
|
-
cd cmake
|
16
|
-
wget https://github.com/Kitware/CMake/releases/download/v3.16.5/cmake-3.16.5-Linux-x86_64.sh
|
17
|
-
chmod +x cmake-3.16.5-Linux-x86_64.sh
|
18
|
-
./cmake-3.16.5-Linux-x86_64.sh --skip-license
|
19
|
-
cd ../
|
20
|
-
mkdir cmake-cache
|
21
|
-
cd cmake-cache
|
22
|
-
../cmake/bin/cmake -DGCOV=ON ..
|
23
|
-
- name: Build mesh
|
24
|
-
run: |
|
25
|
-
cd cmake-cache
|
26
|
-
make all
|
27
|
-
- name: Run tests
|
28
|
-
run: |
|
29
|
-
cd cmake-cache
|
30
|
-
make coverage_gcc
|
31
|
-
|
32
|
-
Ubuntu_bazel:
|
33
|
-
runs-on: ubuntu-latest
|
34
|
-
steps:
|
35
|
-
- uses: actions/checkout@v1
|
36
|
-
- name: build in debug mode
|
37
|
-
run: |
|
38
|
-
./bazel test -c dbg //src:unit-tests
|
39
|
-
- name: build tests and binary
|
40
|
-
run: |
|
41
|
-
make -j1
|
42
|
-
|
43
|
-
macOS_bazel:
|
44
|
-
runs-on: macos-latest
|
45
|
-
steps:
|
46
|
-
- uses: actions/checkout@v1
|
47
|
-
- name: build in debug mode
|
48
|
-
run: |
|
49
|
-
./bazel test -c dbg //src:unit-tests --test_output=all --cache_test_results=no --runs_per_test=5
|
50
|
-
- name: build tests and binary
|
51
|
-
run: |
|
52
|
-
make -j1
|
53
|
-
|
54
|
-
#Windows_MinGW:
|
55
|
-
#
|
56
|
-
# runs-on: windows-latest
|
57
|
-
#
|
58
|
-
# steps:
|
59
|
-
# - uses: actions/checkout@v1
|
60
|
-
# - name: Install msys2/mingw64
|
61
|
-
# #steps from https://github.com/msys2/MINGW-packages/blob/master/azure-pipelines.yml
|
62
|
-
# run: |
|
63
|
-
# git clone https://github.com/msys2/msys2-ci-base.git %CD:~0,2%\msys64
|
64
|
-
# %CD:~0,2%\msys64\usr\bin\rm -rf %CD:~0,2%\msys64\.git
|
65
|
-
# set PATH=%CD:~0,2%\msys64\usr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
|
66
|
-
# %CD:~0,2%\msys64\usr\bin\pacman --noconfirm -Syyuu
|
67
|
-
# set PATH=%CD:~0,2%\msys64\usr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
|
68
|
-
# %CD:~0,2%\msys64\usr\bin\pacman --noconfirm --needed -S git base-devel
|
69
|
-
# %CD:~0,2%\msys64\usr\bin\pacman --noconfirm -Scc
|
70
|
-
# - name: Install required packages
|
71
|
-
# run: |
|
72
|
-
# set PATH=%CD:~0,2%\msys64\usr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
|
73
|
-
# pacman -S --noconfirm mingw-w64-x86_64-binutils
|
74
|
-
# pacman -S --noconfirm mingw-w64-x86_64-cmake
|
75
|
-
# pacman -S --noconfirm mingw-w64-x86_64-gcc
|
76
|
-
# pacman -S --noconfirm mingw-w64-x86_64-gcc-libs
|
77
|
-
# pacman -S --noconfirm mingw-w64-x86_64-gcc-objc
|
78
|
-
# pacman -S --noconfirm mingw-w64-x86_64-gdb
|
79
|
-
# pacman -S --noconfirm mingw-w64-x86_64-ninja
|
80
|
-
# pacman -S --noconfirm mingw-w64-x86_64-lcov
|
81
|
-
# pacman -S --noconfirm mingw-w64-x86_64-winpthreads-git
|
82
|
-
# pacman --noconfirm -Scc
|
83
|
-
# - name: Configure CMake
|
84
|
-
# run: |
|
85
|
-
# set PATH=%CD:~0,2%\msys64\mingw64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
|
86
|
-
# mkdir cmake-cache
|
87
|
-
# cd cmake-cache
|
88
|
-
# cmake -DGCOV=ON -G"Ninja" ..
|
89
|
-
# - name: Build
|
90
|
-
# run: |
|
91
|
-
# set PATH=%CD:~0,2%\msys64\mingw64\bin;%CD:~0,2%\msys64\usr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
|
92
|
-
# cd cmake-cache
|
93
|
-
# ninja
|
94
|
-
# - name: Run tests
|
95
|
-
# run: |
|
96
|
-
# set PATH=%CD:~0,2%\msys64\mingw64\bin;%CD:~0,2%\msys64\usr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
|
97
|
-
# cd cmake-cache
|
98
|
-
# ninja coverage
|
99
|
-
# - name: Run big alloc
|
100
|
-
# run: cd cmake-cache && ninja run_big-alloc
|
101
|
-
# - name: Run fork example
|
102
|
-
# run: cd cmake-cache && ninja run_fork-example
|
103
|
-
# - name: Run global-large-stress
|
104
|
-
# run: cd cmake-cache && ninja run_global-large-stress
|
105
|
-
# - name: Run local alloc
|
106
|
-
# run: cd cmake-cache && ninja run_local-alloc
|
107
|
-
# - name: Run thread
|
108
|
-
# run: cd cmake-cache && ninja run_thread
|
109
|
-
|
110
|
-
#Windows_Visual_Studio: #not working
|
111
|
-
#
|
112
|
-
# runs-on: windows-latest
|
113
|
-
#
|
114
|
-
# steps:
|
115
|
-
# - uses: actions/checkout@v1
|
116
|
-
# - name: Install required packages
|
117
|
-
# run: |
|
118
|
-
# ????
|
119
|
-
# - name: Configure CMake
|
120
|
-
# run: |
|
121
|
-
# %comspec% /k "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\VsDevCmd.bat"
|
122
|
-
# mkdir cmake-cache
|
123
|
-
# cd cmake-cache
|
124
|
-
# cmake -DGCOV=ON -G"Ninja" ..
|
125
|
-
# - name: Build
|
126
|
-
# run: |
|
127
|
-
# %comspec% /k "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\VsDevCmd.bat"
|
128
|
-
# cd cmake-cache
|
129
|
-
# ninja
|
130
|
-
# - name: Run tests
|
131
|
-
# run: |
|
132
|
-
# cd cmake-cache
|
133
|
-
# ninja coverage
|
134
|
-
# - name: Run big alloc
|
135
|
-
# run: cd cmake-cache && ninja run_big-alloc
|
136
|
-
# - name: Run fork example
|
137
|
-
# run: cd cmake-cache && ninja run_fork-example
|
138
|
-
# - name: Run global-large-stress
|
139
|
-
# run: cd cmake-cache && ninja run_global-large-stress
|
140
|
-
# - name: Run local alloc
|
141
|
-
# run: cd cmake-cache && ninja run_local-alloc
|
142
|
-
# - name: Run thread
|
143
|
-
# run: cd cmake-cache && ninja run_thread
|
144
|
-
|