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.
Files changed (124) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/ext/mesh/extconf.rb +22 -4
  4. data/ext/mesh/mesh.tar.gz +0 -0
  5. data/lib/mesh/version.rb +1 -1
  6. data/mesh.gemspec +3 -2
  7. metadata +4 -120
  8. data/ext/mesh/mesh/.bazelrc +0 -20
  9. data/ext/mesh/mesh/.bazelversion +0 -1
  10. data/ext/mesh/mesh/.clang-format +0 -15
  11. data/ext/mesh/mesh/.dockerignore +0 -5
  12. data/ext/mesh/mesh/.editorconfig +0 -16
  13. data/ext/mesh/mesh/.gitattributes +0 -4
  14. data/ext/mesh/mesh/.github/workflows/main.yml +0 -144
  15. data/ext/mesh/mesh/.gitignore +0 -51
  16. data/ext/mesh/mesh/AUTHORS +0 -5
  17. data/ext/mesh/mesh/CMakeLists.txt +0 -270
  18. data/ext/mesh/mesh/CODE_OF_CONDUCT.md +0 -77
  19. data/ext/mesh/mesh/Dockerfile +0 -30
  20. data/ext/mesh/mesh/LICENSE +0 -201
  21. data/ext/mesh/mesh/Makefile +0 -81
  22. data/ext/mesh/mesh/README.md +0 -97
  23. data/ext/mesh/mesh/WORKSPACE +0 -50
  24. data/ext/mesh/mesh/bazel +0 -350
  25. data/ext/mesh/mesh/mesh-pldi19-powers.pdf +0 -0
  26. data/ext/mesh/mesh/src/BUILD +0 -222
  27. data/ext/mesh/mesh/src/CMakeLists.txt +0 -85
  28. data/ext/mesh/mesh/src/bitmap.h +0 -590
  29. data/ext/mesh/mesh/src/cheap_heap.h +0 -170
  30. data/ext/mesh/mesh/src/common.h +0 -377
  31. data/ext/mesh/mesh/src/copts.bzl +0 -31
  32. data/ext/mesh/mesh/src/d_assert.cc +0 -75
  33. data/ext/mesh/mesh/src/fixed_array.h +0 -124
  34. data/ext/mesh/mesh/src/global_heap.cc +0 -547
  35. data/ext/mesh/mesh/src/global_heap.h +0 -569
  36. data/ext/mesh/mesh/src/gnu_wrapper.cc +0 -75
  37. data/ext/mesh/mesh/src/internal.h +0 -356
  38. data/ext/mesh/mesh/src/libmesh.cc +0 -239
  39. data/ext/mesh/mesh/src/mac_wrapper.cc +0 -528
  40. data/ext/mesh/mesh/src/measure_rss.cc +0 -44
  41. data/ext/mesh/mesh/src/measure_rss.h +0 -20
  42. data/ext/mesh/mesh/src/meshable_arena.cc +0 -776
  43. data/ext/mesh/mesh/src/meshable_arena.h +0 -309
  44. data/ext/mesh/mesh/src/meshing.h +0 -60
  45. data/ext/mesh/mesh/src/mini_heap.h +0 -532
  46. data/ext/mesh/mesh/src/mmap_heap.h +0 -104
  47. data/ext/mesh/mesh/src/one_way_mmap_heap.h +0 -77
  48. data/ext/mesh/mesh/src/partitioned_heap.h +0 -111
  49. data/ext/mesh/mesh/src/plasma/mesh.h +0 -33
  50. data/ext/mesh/mesh/src/real.cc +0 -52
  51. data/ext/mesh/mesh/src/real.h +0 -36
  52. data/ext/mesh/mesh/src/rng/mwc.h +0 -296
  53. data/ext/mesh/mesh/src/rng/mwc64.h +0 -58
  54. data/ext/mesh/mesh/src/rpl_printf.c +0 -1991
  55. data/ext/mesh/mesh/src/runtime.cc +0 -393
  56. data/ext/mesh/mesh/src/runtime.h +0 -114
  57. data/ext/mesh/mesh/src/shuffle_vector.h +0 -287
  58. data/ext/mesh/mesh/src/size_classes.def +0 -251
  59. data/ext/mesh/mesh/src/static/if.h +0 -36
  60. data/ext/mesh/mesh/src/static/log.h +0 -43
  61. data/ext/mesh/mesh/src/testing/benchmark/local_refill.cc +0 -103
  62. data/ext/mesh/mesh/src/testing/big-alloc.c +0 -28
  63. data/ext/mesh/mesh/src/testing/fragmenter.cc +0 -128
  64. data/ext/mesh/mesh/src/testing/global-large-stress.cc +0 -25
  65. data/ext/mesh/mesh/src/testing/local-alloc.c +0 -16
  66. data/ext/mesh/mesh/src/testing/meshing_benchmark.cc +0 -189
  67. data/ext/mesh/mesh/src/testing/thread.cc +0 -35
  68. data/ext/mesh/mesh/src/testing/unit/alignment.cc +0 -56
  69. data/ext/mesh/mesh/src/testing/unit/bitmap_test.cc +0 -274
  70. data/ext/mesh/mesh/src/testing/unit/concurrent_mesh_test.cc +0 -185
  71. data/ext/mesh/mesh/src/testing/unit/mesh_test.cc +0 -143
  72. data/ext/mesh/mesh/src/testing/unit/rng_test.cc +0 -22
  73. data/ext/mesh/mesh/src/testing/unit/size_class_test.cc +0 -66
  74. data/ext/mesh/mesh/src/testing/unit/triple_mesh_test.cc +0 -285
  75. data/ext/mesh/mesh/src/testing/userfaultfd-kernel-copy.cc +0 -164
  76. data/ext/mesh/mesh/src/thread_local_heap.cc +0 -163
  77. data/ext/mesh/mesh/src/thread_local_heap.h +0 -268
  78. data/ext/mesh/mesh/src/wrapper.cc +0 -433
  79. data/ext/mesh/mesh/support/export_mesh.cmake +0 -28
  80. data/ext/mesh/mesh/support/gen-size-classes +0 -57
  81. data/ext/mesh/mesh/support/install_all_configs +0 -33
  82. data/ext/mesh/mesh/support/remove_export_mesh.cmake +0 -48
  83. data/ext/mesh/mesh/support/update-bazelisk +0 -8
  84. data/ext/mesh/mesh/theory/32m80.png +0 -0
  85. data/ext/mesh/mesh/theory/64m80ind.png +0 -0
  86. data/ext/mesh/mesh/theory/bound_comparison.py +0 -67
  87. data/ext/mesh/mesh/theory/bounds/impdeg+1 +0 -135
  88. data/ext/mesh/mesh/theory/choose.py +0 -43
  89. data/ext/mesh/mesh/theory/common.py +0 -42
  90. data/ext/mesh/mesh/theory/compute_exp_Y.py +0 -134
  91. data/ext/mesh/mesh/theory/createRandomString.py +0 -69
  92. data/ext/mesh/mesh/theory/deg_bound_check.py +0 -100
  93. data/ext/mesh/mesh/theory/degcheck.py +0 -47
  94. data/ext/mesh/mesh/theory/dumps/32,1,80,dumb.txt +0 -81
  95. data/ext/mesh/mesh/theory/dumps/32,2,80,dumb.txt +0 -81
  96. data/ext/mesh/mesh/theory/dumps/32,3,80,dumb.txt +0 -81
  97. data/ext/mesh/mesh/theory/dumps/32,4,80,dumb.txt +0 -81
  98. data/ext/mesh/mesh/theory/dumps/32,5,80,dumb.txt +0 -81
  99. data/ext/mesh/mesh/theory/dumps/32,6,80,dumb.txt +0 -81
  100. data/ext/mesh/mesh/theory/dumps/32,7,80,dumb.txt +0 -81
  101. data/ext/mesh/mesh/theory/dumps/32,8,80,dumb.txt +0 -81
  102. data/ext/mesh/mesh/theory/dumps/32,9,80,dumb.txt +0 -81
  103. data/ext/mesh/mesh/theory/experiment.py +0 -303
  104. data/ext/mesh/mesh/theory/experiment_raw_results/.gitignore +0 -0
  105. data/ext/mesh/mesh/theory/greedy_experiment.py +0 -66
  106. data/ext/mesh/mesh/theory/greedy_experiment_copy.py +0 -46
  107. data/ext/mesh/mesh/theory/greedy_experiment_q.py +0 -75
  108. data/ext/mesh/mesh/theory/makeGraph.py +0 -64
  109. data/ext/mesh/mesh/theory/manyreps.png +0 -0
  110. data/ext/mesh/mesh/theory/manystrings.png +0 -0
  111. data/ext/mesh/mesh/theory/match_vs_color_experiment.py +0 -94
  112. data/ext/mesh/mesh/theory/maxmatch_vs_E[Y].py +0 -162
  113. data/ext/mesh/mesh/theory/maxmatch_vs_greedymatch.py +0 -96
  114. data/ext/mesh/mesh/theory/maxvdeg+1imp++32,80.png +0 -0
  115. data/ext/mesh/mesh/theory/mesh_util.py +0 -322
  116. data/ext/mesh/mesh/theory/meshers.py +0 -452
  117. data/ext/mesh/mesh/theory/meshingBenchmark.py +0 -96
  118. data/ext/mesh/mesh/theory/occupancyComparison.py +0 -133
  119. data/ext/mesh/mesh/theory/randmatch_vs_greedymatch.py +0 -97
  120. data/ext/mesh/mesh/theory/randmatch_vs_greedymatch_q.py +0 -103
  121. data/ext/mesh/mesh/theory/randmatch_vs_greedymatch_time.py +0 -117
  122. data/ext/mesh/mesh/theory/read_mesh_dump.py +0 -82
  123. data/ext/mesh/mesh/theory/test.py +0 -70
  124. data/ext/mesh/mesh/tools/bazel +0 -1
@@ -1,51 +0,0 @@
1
- *~
2
- *.d
3
- *.dylib
4
- *.o
5
- *.so
6
- *.pyc
7
- TAGS
8
- /src/config.h
9
- /src/test/fork-example
10
- /src/test/thread-example
11
- /unit.test
12
- /meshing-benchmark
13
- config.mk
14
- /build
15
- /doc
16
- /fragmenter
17
- /theory/env
18
- /frag.pdf
19
- /data
20
- /paper/latex.out/
21
- /paper/mesh.pdf
22
- __pycache__
23
- /perf.data
24
- /perf.data.old
25
- /src/test/local-alloc
26
- /src/test/local-alloc-glibc
27
- /src/test/big-alloc
28
- /src/test/big-alloc-glibc
29
- /src/test/big-alloc-hoard
30
- /src/test/local-alloc-hoard
31
- /src/test/local-alloc-tcmalloc
32
- /src/test/local-alloc-jemalloc
33
- /src/test/local-alloc-mesh
34
- /src/test/global-large-stress
35
- /test/docker/*/mstatgcc
36
- /test/docker/*/mstat
37
- /test/spec/data
38
- /coverage
39
- /src/test/larson-mesh
40
- /src/test/larson-glibc
41
- /src/test/larson-tcmalloc
42
- /src/test/larson-hoard
43
- /.idea
44
- /.clwb
45
- /cmake-build*
46
- /cmake-cache/
47
- /bazel-bin
48
- /bazel-genfiles
49
- /bazel-mesh
50
- /bazel-out
51
- /bazel-testlogs
@@ -1,5 +0,0 @@
1
- University of Massachusetts Amherst
2
- Bobby Powers <bobbypowers@gmail.com>
3
- David Tench <dtench@cs.umass.edu>
4
- Emery Berger <emery@cs.umass.edu>
5
- Andrew McGregor <mcgregor@cs.umass.edu>
@@ -1,270 +0,0 @@
1
- cmake_minimum_required(VERSION 3.13.0)
2
-
3
- project(Mesh CXX C)
4
-
5
-
6
- SET(CMAKE_BUILD_TYPE "" CACHE STRING "Just making sure the default CMAKE_BUILD_TYPE configurations won't interfere" FORCE)
7
-
8
- #Set output folders
9
- set(CMAKE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/build)
10
- set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_OUTPUT_DIRECTORY}/bin)
11
- set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_OUTPUT_DIRECTORY}/lib)
12
- set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_OUTPUT_DIRECTORY}/lib)
13
- set(CMAKE_HEADER_OUTPUT_DIRECTORY ${CMAKE_OUTPUT_DIRECTORY}/include)
14
-
15
-
16
- include(ExternalProject)
17
-
18
- ExternalProject_Add(googletest
19
- GIT_REPOSITORY https://github.com/google/googletest.git
20
- GIT_TAG 703bd9caab50b139428cea1aaff9974ebee5742e
21
- SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/googletest-src"
22
- BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/googletest-build"
23
- INSTALL_COMMAND ""
24
- TEST_COMMAND ""
25
- )
26
-
27
- ExternalProject_Add(heap_layers
28
- GIT_REPOSITORY https://github.com/emeryberger/Heap-Layers.git
29
- GIT_TAG a80041cc15174ab82a39bae1cd750b52955c7eef
30
- SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/heap_layers-src"
31
- BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/heap_layers-build"
32
- CONFIGURE_COMMAND ""
33
- BUILD_COMMAND ""
34
- INSTALL_COMMAND ""
35
- TEST_COMMAND ""
36
- )
37
-
38
- #Create configure options
39
- option(DEBUG "Build with debugging symbols" OFF) #replace with CMAKE_BUILD_TYPE?
40
- option(OPTIMIZE " Build with optimizations" ON) #replace with CMAKE_BUILD_TYPE?
41
- option(GCOV "Build with gcov profiling support" OFF)
42
- option(CLANGCOV "Build with clangcov profiling support" OFF)
43
- set(RANDOMIZATION "1" CACHE STRING "0: no randomization. 1: freelist init only. 2: freelist init + free fastpath")
44
- set_property(CACHE RANDOMIZATION PROPERTY STRINGS "0;1;2")
45
- option(DISABLE_MESHING "Disable meshing" OFF)
46
- option(SUFFIX "Always suffix the mesh library with randomization + meshing info" OFF)
47
- option(CLANG "Build with clang" OFF)
48
- option(INSTALL_MESH "Install mesh to the system" OFF)
49
- option(SYS_WIDE_INSTALL "Install mesh as a system-wide library" OFF)
50
-
51
-
52
-
53
-
54
- #Parse options
55
- set(CXX_FLAGS )
56
- set(ENV{CXX_FLAGS} )
57
-
58
- if (${CLANG})
59
- set(CMAKE_CXX_COMPILER clang++)
60
- set(CMAKE_C_COMPILER clang)
61
- endif()
62
-
63
- #Identify compiler and set specific flag
64
- if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
65
- set(GCC TRUE)
66
- set(CLANGC FALSE)
67
- set(MSVC FALSE)
68
- set(ICC FALSE)
69
- endif()
70
-
71
- if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
72
- set(GCC FALSE)
73
- set(CLANGC TRUE)
74
- set(MSVC FALSE)
75
- set(ICC FALSE)
76
- endif()
77
-
78
- if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "MSVC")
79
- set(GCC FALSE)
80
- set(CLANGC FALSE)
81
- set(MSVC TRUE)
82
- set(ICC FALSE)
83
- set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
84
- set(BUILD_SHARED_LIBS TRUE)
85
- endif()
86
-
87
- if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Intel")
88
- set(GCC FALSE)
89
- set(CLANGC FALSE)
90
- set(MSVC FALSE)
91
- set(ICC TRUE)
92
- endif()
93
-
94
- if (${DEBUG})
95
- add_definitions(-g)
96
- endif()
97
-
98
- if(${OPTIMIZE})
99
- add_definitions(-O3 -flto -D_FORTIFY_SOURCE=2)
100
- else()
101
- add_definitions(-O0)
102
- endif()
103
-
104
- if (${GCOV} AND GCC)
105
- find_program(GCOVp gcov)
106
- if (GCOVp)
107
- add_definitions(--coverage)
108
- link_libraries(-lgcov)
109
- endif()
110
- find_program(LCOVp lcov)
111
- if (NOT LCOVp)
112
- message(WARNING "LCOV is not installed.")
113
- endif()
114
- endif()
115
-
116
- if (${CLANGCOV} AND CLANGC)
117
- add_definitions(--coverage)#ftest-coverage)
118
- link_libraries(--coverage)
119
- #todo:
120
- #add_definitions(-fprofile-instr-generate -fcoverage-mapping)
121
- #c.prefer('cc', 'clang')
122
- #c.prefer('cxx', 'clang++')
123
- #c.prefer('ar', 'llvm-ar')
124
- #c.prefer('ranlib', 'llvm-ranlib')
125
- #c.append('ldflags', '-fuse-ld=lld')
126
- endif()
127
-
128
-
129
-
130
- if (NOT ${DISABLE_MESHING})
131
- add_definitions(-DMESHING_ENABLED=1)
132
- else()
133
- add_definitions(-DMESHING_ENABLED=0)
134
- endif()
135
-
136
- if (${RANDOMIZATION} EQUAL 0)
137
- add_definitions(-DSHUFFLE_ON_INIT=0)
138
- add_definitions(-DSHUFFLE_ON_FREE=0)
139
- elseif(${RANDOMIZATION} EQUAL 1)
140
- add_definitions(-DSHUFFLE_ON_INIT=1)
141
- add_definitions(-DSHUFFLE_ON_FREE=0)
142
- elseif(${RANDOMIZATION} EQUAL 2)
143
- add_definitions(-DSHUFFLE_ON_INIT=1)
144
- add_definitions(-DSHUFFLE_ON_FREE=1)
145
- else()
146
- message(FATAL_ERROR "Unknown option for Randomization parameter")
147
- endif()
148
-
149
- #Additional compile and linking configuration
150
- add_definitions(
151
- -fPIC
152
- -pipe
153
- -fno-builtin-malloc
154
- -fno-omit-frame-pointer
155
- -ffunction-sections
156
- -fdata-sections
157
- -Werror=pointer-arith
158
- -Wall -Wextra -pedantic
159
- -Werror=return-type
160
- -Wtype-limits
161
- -Wempty-body
162
- -Wvariadic-macros
163
- -Wcast-align
164
- )
165
-
166
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${custom_c_flags}")
167
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${custom_cxx_flags}")
168
-
169
- if (NOT APPLE AND GCC)
170
- add_definitions(
171
- -Wno-unused-parameter
172
- -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
173
- -Wundef
174
- )
175
- add_link_options(
176
- -Wl,--no-as-needed
177
- -Wl,--no-add-needed
178
- -Wl,--sort-common
179
- -Wl,--gc-sections
180
- -Wl,--hash-style=both
181
- -Wl,--no-undefined
182
- -Wl,-Bsymbolic-functions
183
- -Wl,-z,now,-z,relro
184
- -ftls-model=initial-exec
185
- -Wl,--exclude-libs,ALL
186
- -static-libstdc++ -static-libgcc
187
- -lrt
188
- )
189
- endif()
190
-
191
- set(CMAKE_CXX_STANDARD 14)
192
-
193
- #Create folder for coverage
194
- file(MAKE_DIRECTORY ${PROJECT_SOURCE_DIR}/coverage)
195
-
196
- #Go to subdirectory to build libraries
197
- add_subdirectory(src)
198
-
199
- #Installation procedures
200
- if(INSTALL_MESH)
201
- #Check OS and target installation directories
202
- if(WIN32)
203
- set(system_wide_installation_dir C:\\Program Files\\mesh)
204
- set(user_wide_installation_dir C:\\User\\$ENV{USERNAME}\\AppData\\Local\\mesh)
205
- set(user $ENV{USERNAME})
206
- add_custom_target(delete_local_installation_dir
207
- COMMAND ${CMAKE_COMMAND} -E remove_directory ${user_wide_installation_dir})
208
- elseif(APPLE)
209
- set(system_wide_installation_dir /usr/local)
210
- set(user_wide_installation_dir /Users/$ENV{USER}/Library/mesh)
211
- set(user $ENV{USER})
212
- add_custom_target(delete_local_installation_dir
213
- COMMAND ${CMAKE_COMMAND} -E remove_directory ${user_wide_installation_dir})
214
- else()
215
- #Linux
216
- set(system_wide_installation_dir /usr/local)
217
- set(user_wide_installation_dir /home/$ENV{USERNAME}/.local)
218
- set(user $ENV{USERNAME})
219
- add_custom_target(delete_local_installation_dir)
220
- endif()
221
-
222
- #This check prevents that running installation as sudo changes the username
223
- if(NOT ENV{mesh_install_dir})
224
- if(SYS_WIDE_INSTALL)
225
- set(ENV{mesh_install_dir} ${system_wide_installation_dir})
226
- set(ENV{mesh_syswide} ON)
227
- else()
228
- set(ENV{mesh_install_dir} ${user_wide_installation_dir})
229
- set(ENV{mesh_syswide} OFF)
230
- endif()
231
- set(ENV{mesh_user} ${user})
232
- endif()
233
-
234
- #Create target for copying library and header dir
235
- add_custom_target(install_mesh
236
- COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:mesh> $ENV{mesh_install_dir}/lib/$<TARGET_FILE_NAME:mesh>
237
- COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/src/plasma/mesh.h $ENV{mesh_install_dir}/include/plasma/mesh.h
238
- )
239
- #Create target for deleting library and header dir
240
- add_custom_target(uninstall_mesh
241
- COMMAND ${CMAKE_COMMAND} -E remove -f $ENV{mesh_install_dir}/lib/$<TARGET_FILE_NAME:mesh>
242
- COMMAND ${CMAKE_COMMAND} -E remove -f $ENV{mesh_install_dir}/include/plasma/mesh.h
243
- COMMAND ${CMAKE_COMMAND} -E remove_directory $ENV{mesh_install_dir}/include/plasma
244
- )
245
-
246
- #Export or remove library paths (you will need to run with sudo/elevated privileges if doing a system wide installation)
247
- #I didn't add a DEPENDS clause on purpose, or the mesh and install_mesh targets would run as root
248
- add_custom_target(export_mesh
249
- COMMAND ${CMAKE_COMMAND} -DINSTALLATION_DIR="$ENV{mesh_install_dir}" -DUSER="$ENV{mesh_user}" -DSYSWIDE="$ENV{mesh_syswide}" -P ${CMAKE_SOURCE_DIR}/support/export_mesh.cmake
250
- )
251
- add_custom_target(remove_export_mesh
252
- COMMAND ${CMAKE_COMMAND} -DINSTALLATION_DIR="$ENV{mesh_install_dir}" -DUSER="$ENV{mesh_user}" -DSYSWIDE="$ENV{mesh_syswide}" -P ${CMAKE_SOURCE_DIR}/support/remove_export_mesh.cmake
253
- )
254
-
255
- #Additional glue targets that trigger both install&export or uninstall&remove export
256
- add_custom_target(install_and_export
257
- DEPENDS install_mesh export_mesh
258
- )
259
-
260
- if(SYS_WIDE_INSTALL)
261
- add_custom_target(uninstall_and_remove_export
262
- DEPENDS uninstall_mesh remove_export_mesh
263
- )
264
- else()
265
- add_custom_target(uninstall_and_remove_export
266
- DEPENDS uninstall_mesh remove_export_mesh delete_local_installation_dir
267
- )
268
- endif()
269
-
270
- endif()
@@ -1,77 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- In the interest of fostering an open and welcoming environment, we as
6
- contributors and maintainers pledge to make participation in our project and
7
- our community a harassment-free experience for everyone, regardless of age, body
8
- size, disability, ethnicity, sex characteristics, gender identity and expression,
9
- level of experience, education, socio-economic status, nationality, personal
10
- appearance, race, religion, or sexual identity and orientation.
11
-
12
- ## Our Standards
13
-
14
- Examples of behavior that contributes to creating a positive environment
15
- include:
16
-
17
- * Using welcoming and inclusive language
18
- * Being respectful of differing viewpoints and experiences
19
- * Gracefully accepting constructive criticism
20
- * Focusing on what is best for the community
21
- * Showing empathy towards other community members
22
-
23
- Examples of unacceptable behavior by participants include:
24
-
25
- * The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
27
- * Trolling, insulting/derogatory comments, and personal or political attacks
28
- * Public or private harassment
29
- * Publishing others' private information, such as a physical or electronic
30
- address, without explicit permission
31
- * Other conduct which could reasonably be considered inappropriate in a
32
- professional setting
33
-
34
- ## Our Responsibilities
35
-
36
- Project maintainers are responsible for clarifying the standards of acceptable
37
- behavior and are expected to take appropriate and fair corrective action in
38
- response to any instances of unacceptable behavior.
39
-
40
- Project maintainers have the right and responsibility to remove, edit, or
41
- reject comments, commits, code, wiki edits, issues, and other contributions
42
- that are not aligned to this Code of Conduct, or to ban temporarily or
43
- permanently any contributor for other behaviors that they deem inappropriate,
44
- threatening, offensive, or harmful.
45
-
46
- ## Scope
47
-
48
- This Code of Conduct applies within all project spaces, and it also applies when
49
- an individual is representing the project or its community in public spaces.
50
- Examples of representing a project or community include using an official
51
- project e-mail address, posting via an official social media account, or acting
52
- as an appointed representative at an online or offline event. Representation of
53
- a project may be further defined and clarified by project maintainers.
54
-
55
- ## Enforcement
56
-
57
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at bobbypowers@gmail.com. All
59
- complaints will be reviewed and investigated and will result in a response that
60
- is deemed necessary and appropriate to the circumstances. The project team is
61
- obligated to maintain confidentiality with regard to the reporter of an incident.
62
- Further details of specific enforcement policies may be posted separately.
63
-
64
- Project maintainers who do not follow or enforce the Code of Conduct in good
65
- faith may face temporary or permanent repercussions as determined by other
66
- members of the project's leadership.
67
-
68
- ## Attribution
69
-
70
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
- available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72
-
73
- [homepage]: https://www.contributor-covenant.org
74
-
75
- For answers to common questions about this code of conduct, see
76
- https://www.contributor-covenant.org/faq
77
-
@@ -1,30 +0,0 @@
1
- # docker build -t bpowers/mesh .
2
- FROM ubuntu:18.04 as builder
3
- MAINTAINER Bobby Powers <bobbypowers@gmail.com>
4
-
5
- RUN apt-get update && apt-get install -y \
6
- build-essential \
7
- git \
8
- python3 \
9
- sudo \
10
- libxml2 \
11
- && rm -rf /var/lib/apt/lists/* \
12
- && update-alternatives --install /usr/bin/python python /usr/bin/python3 10 \
13
- && rm -rf /usr/local/lib/python3.6
14
-
15
- WORKDIR /src
16
-
17
- COPY . .
18
-
19
- ENV PREFIX /usr/local
20
-
21
- RUN make test
22
-
23
- RUN support/install_all_configs
24
-
25
-
26
- FROM ubuntu:18.04
27
-
28
- COPY --from=builder /usr/lib/libmesh* /usr/local/lib/
29
-
30
- RUN ldconfig
@@ -1,201 +0,0 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction,
10
- and distribution as defined by Sections 1 through 9 of this document.
11
-
12
- "Licensor" shall mean the copyright owner or entity authorized by
13
- the copyright owner that is granting the License.
14
-
15
- "Legal Entity" shall mean the union of the acting entity and all
16
- other entities that control, are controlled by, or are under common
17
- control with that entity. For the purposes of this definition,
18
- "control" means (i) the power, direct or indirect, to cause the
19
- direction or management of such entity, whether by contract or
20
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
- outstanding shares, or (iii) beneficial ownership of such entity.
22
-
23
- "You" (or "Your") shall mean an individual or Legal Entity
24
- exercising permissions granted by this License.
25
-
26
- "Source" form shall mean the preferred form for making modifications,
27
- including but not limited to software source code, documentation
28
- source, and configuration files.
29
-
30
- "Object" form shall mean any form resulting from mechanical
31
- transformation or translation of a Source form, including but
32
- not limited to compiled object code, generated documentation,
33
- and conversions to other media types.
34
-
35
- "Work" shall mean the work of authorship, whether in Source or
36
- Object form, made available under the License, as indicated by a
37
- copyright notice that is included in or attached to the work
38
- (an example is provided in the Appendix below).
39
-
40
- "Derivative Works" shall mean any work, whether in Source or Object
41
- form, that is based on (or derived from) the Work and for which the
42
- editorial revisions, annotations, elaborations, or other modifications
43
- represent, as a whole, an original work of authorship. For the purposes
44
- of this License, Derivative Works shall not include works that remain
45
- separable from, or merely link (or bind by name) to the interfaces of,
46
- the Work and Derivative Works thereof.
47
-
48
- "Contribution" shall mean any work of authorship, including
49
- the original version of the Work and any modifications or additions
50
- to that Work or Derivative Works thereof, that is intentionally
51
- submitted to Licensor for inclusion in the Work by the copyright owner
52
- or by an individual or Legal Entity authorized to submit on behalf of
53
- the copyright owner. For the purposes of this definition, "submitted"
54
- means any form of electronic, verbal, or written communication sent
55
- to the Licensor or its representatives, including but not limited to
56
- communication on electronic mailing lists, source code control systems,
57
- and issue tracking systems that are managed by, or on behalf of, the
58
- Licensor for the purpose of discussing and improving the Work, but
59
- excluding communication that is conspicuously marked or otherwise
60
- designated in writing by the copyright owner as "Not a Contribution."
61
-
62
- "Contributor" shall mean Licensor and any individual or Legal Entity
63
- on behalf of whom a Contribution has been received by Licensor and
64
- subsequently incorporated within the Work.
65
-
66
- 2. Grant of Copyright License. Subject to the terms and conditions of
67
- this License, each Contributor hereby grants to You a perpetual,
68
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
- copyright license to reproduce, prepare Derivative Works of,
70
- publicly display, publicly perform, sublicense, and distribute the
71
- Work and such Derivative Works in Source or Object form.
72
-
73
- 3. Grant of Patent License. Subject to the terms and conditions of
74
- this License, each Contributor hereby grants to You a perpetual,
75
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
- (except as stated in this section) patent license to make, have made,
77
- use, offer to sell, sell, import, and otherwise transfer the Work,
78
- where such license applies only to those patent claims licensable
79
- by such Contributor that are necessarily infringed by their
80
- Contribution(s) alone or by combination of their Contribution(s)
81
- with the Work to which such Contribution(s) was submitted. If You
82
- institute patent litigation against any entity (including a
83
- cross-claim or counterclaim in a lawsuit) alleging that the Work
84
- or a Contribution incorporated within the Work constitutes direct
85
- or contributory patent infringement, then any patent licenses
86
- granted to You under this License for that Work shall terminate
87
- as of the date such litigation is filed.
88
-
89
- 4. Redistribution. You may reproduce and distribute copies of the
90
- Work or Derivative Works thereof in any medium, with or without
91
- modifications, and in Source or Object form, provided that You
92
- meet the following conditions:
93
-
94
- (a) You must give any other recipients of the Work or
95
- Derivative Works a copy of this License; and
96
-
97
- (b) You must cause any modified files to carry prominent notices
98
- stating that You changed the files; and
99
-
100
- (c) You must retain, in the Source form of any Derivative Works
101
- that You distribute, all copyright, patent, trademark, and
102
- attribution notices from the Source form of the Work,
103
- excluding those notices that do not pertain to any part of
104
- the Derivative Works; and
105
-
106
- (d) If the Work includes a "NOTICE" text file as part of its
107
- distribution, then any Derivative Works that You distribute must
108
- include a readable copy of the attribution notices contained
109
- within such NOTICE file, excluding those notices that do not
110
- pertain to any part of the Derivative Works, in at least one
111
- of the following places: within a NOTICE text file distributed
112
- as part of the Derivative Works; within the Source form or
113
- documentation, if provided along with the Derivative Works; or,
114
- within a display generated by the Derivative Works, if and
115
- wherever such third-party notices normally appear. The contents
116
- of the NOTICE file are for informational purposes only and
117
- do not modify the License. You may add Your own attribution
118
- notices within Derivative Works that You distribute, alongside
119
- or as an addendum to the NOTICE text from the Work, provided
120
- that such additional attribution notices cannot be construed
121
- as modifying the License.
122
-
123
- You may add Your own copyright statement to Your modifications and
124
- may provide additional or different license terms and conditions
125
- for use, reproduction, or distribution of Your modifications, or
126
- for any such Derivative Works as a whole, provided Your use,
127
- reproduction, and distribution of the Work otherwise complies with
128
- the conditions stated in this License.
129
-
130
- 5. Submission of Contributions. Unless You explicitly state otherwise,
131
- any Contribution intentionally submitted for inclusion in the Work
132
- by You to the Licensor shall be under the terms and conditions of
133
- this License, without any additional terms or conditions.
134
- Notwithstanding the above, nothing herein shall supersede or modify
135
- the terms of any separate license agreement you may have executed
136
- with Licensor regarding such Contributions.
137
-
138
- 6. Trademarks. This License does not grant permission to use the trade
139
- names, trademarks, service marks, or product names of the Licensor,
140
- except as required for reasonable and customary use in describing the
141
- origin of the Work and reproducing the content of the NOTICE file.
142
-
143
- 7. Disclaimer of Warranty. Unless required by applicable law or
144
- agreed to in writing, Licensor provides the Work (and each
145
- Contributor provides its Contributions) on an "AS IS" BASIS,
146
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
- implied, including, without limitation, any warranties or conditions
148
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
- PARTICULAR PURPOSE. You are solely responsible for determining the
150
- appropriateness of using or redistributing the Work and assume any
151
- risks associated with Your exercise of permissions under this License.
152
-
153
- 8. Limitation of Liability. In no event and under no legal theory,
154
- whether in tort (including negligence), contract, or otherwise,
155
- unless required by applicable law (such as deliberate and grossly
156
- negligent acts) or agreed to in writing, shall any Contributor be
157
- liable to You for damages, including any direct, indirect, special,
158
- incidental, or consequential damages of any character arising as a
159
- result of this License or out of the use or inability to use the
160
- Work (including but not limited to damages for loss of goodwill,
161
- work stoppage, computer failure or malfunction, or any and all
162
- other commercial damages or losses), even if such Contributor
163
- has been advised of the possibility of such damages.
164
-
165
- 9. Accepting Warranty or Additional Liability. While redistributing
166
- the Work or Derivative Works thereof, You may choose to offer,
167
- and charge a fee for, acceptance of support, warranty, indemnity,
168
- or other liability obligations and/or rights consistent with this
169
- License. However, in accepting such obligations, You may act only
170
- on Your own behalf and on Your sole responsibility, not on behalf
171
- of any other Contributor, and only if You agree to indemnify,
172
- defend, and hold each Contributor harmless for any liability
173
- incurred by, or claims asserted against, such Contributor by reason
174
- of your accepting any such warranty or additional liability.
175
-
176
- END OF TERMS AND CONDITIONS
177
-
178
- APPENDIX: How to apply the Apache License to your work.
179
-
180
- To apply the Apache License to your work, attach the following
181
- boilerplate notice, with the fields enclosed by brackets "[]"
182
- replaced with your own identifying information. (Don't include
183
- the brackets!) The text should be enclosed in the appropriate
184
- comment syntax for the file format. We also recommend that a
185
- file or class name and description of purpose be included on the
186
- same "printed page" as the copyright notice for easier
187
- identification within third-party archives.
188
-
189
- Copyright [yyyy] [name of copyright owner]
190
-
191
- Licensed under the Apache License, Version 2.0 (the "License");
192
- you may not use this file except in compliance with the License.
193
- You may obtain a copy of the License at
194
-
195
- http://www.apache.org/licenses/LICENSE-2.0
196
-
197
- Unless required by applicable law or agreed to in writing, software
198
- distributed under the License is distributed on an "AS IS" BASIS,
199
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
- See the License for the specific language governing permissions and
201
- limitations under the License.