dsh-remote 0.8.48 → 0.8.49
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.
- package/lib/client.js +89 -16
- package/lib/index.js +37 -0
- package/lib/remote-shell-child.cjs +305 -0
- package/lib/remote-shell.js +518 -0
- package/package.json +1 -2
- package/node_modules/buildcheck/.eslintrc.js +0 -5
- package/node_modules/buildcheck/.github/workflows/ci.yml +0 -88
- package/node_modules/buildcheck/.github/workflows/lint.yml +0 -27
- package/node_modules/buildcheck/.npmignore +0 -3
- package/node_modules/buildcheck/LICENSE +0 -19
- package/node_modules/buildcheck/README.md +0 -106
- package/node_modules/buildcheck/deps/Find-VisualStudio.cs +0 -250
- package/node_modules/buildcheck/lib/findvs.js +0 -361
- package/node_modules/buildcheck/lib/index.js +0 -738
- package/node_modules/buildcheck/package.json +0 -36
- package/node_modules/buildcheck/test/test.js +0 -8
- package/node_modules/cpu-features/.eslintrc.js +0 -5
- package/node_modules/cpu-features/.github/workflows/ci.yml +0 -74
- package/node_modules/cpu-features/.github/workflows/lint.yml +0 -27
- package/node_modules/cpu-features/LICENSE +0 -19
- package/node_modules/cpu-features/README.md +0 -59
- package/node_modules/cpu-features/binding.gyp +0 -16
- package/node_modules/cpu-features/buildcheck.js +0 -32
- package/node_modules/cpu-features/deps/cpu_features/.clang-format +0 -4
- package/node_modules/cpu-features/deps/cpu_features/.dockerignore +0 -31
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/Dockerfile +0 -5
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/aarch64_linux_cmake.yml +0 -30
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_freebsd_cmake.yml +0 -22
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_linux_bazel.yml +0 -26
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_linux_cmake.yml +0 -31
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_macos_cmake.yml +0 -43
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_windows_cmake.yml +0 -25
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/arm_linux_cmake.yml +0 -31
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/clang_format.yml +0 -24
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/mips_linux_cmake.yml +0 -30
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/power_linux_cmake.yml +0 -29
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/riscv_linux_cmake.yml +0 -28
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/s390x_linux_cmake.yml +0 -27
- package/node_modules/cpu-features/deps/cpu_features/.grenrc.yml +0 -21
- package/node_modules/cpu-features/deps/cpu_features/BUILD.bazel +0 -329
- package/node_modules/cpu-features/deps/cpu_features/CMakeLists.txt +0 -261
- package/node_modules/cpu-features/deps/cpu_features/CONTRIBUTING.md +0 -23
- package/node_modules/cpu-features/deps/cpu_features/LICENSE +0 -230
- package/node_modules/cpu-features/deps/cpu_features/README.md +0 -272
- package/node_modules/cpu-features/deps/cpu_features/WORKSPACE +0 -19
- package/node_modules/cpu-features/deps/cpu_features/bazel/ci/README.md +0 -5
- package/node_modules/cpu-features/deps/cpu_features/bazel/platforms.bzl +0 -11
- package/node_modules/cpu-features/deps/cpu_features/cmake/CpuFeaturesConfig.cmake.in +0 -3
- package/node_modules/cpu-features/deps/cpu_features/cmake/CpuFeaturesNdkCompatConfig.cmake.in +0 -3
- package/node_modules/cpu-features/deps/cpu_features/cmake/README.md +0 -30
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/Makefile +0 -252
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/README.md +0 -40
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/doc/docker.dot +0 -64
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/doc/docker.svg +0 -312
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/doc/generate_image.sh +0 -7
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/docker/amd64/Dockerfile +0 -48
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/docker/toolchain/Dockerfile +0 -34
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/sample/CMakeLists.txt +0 -22
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/sample/main.cpp +0 -11
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/vagrant/freebsd/Vagrantfile +0 -107
- package/node_modules/cpu-features/deps/cpu_features/cmake/googletest.CMakeLists.txt.in +0 -15
- package/node_modules/cpu-features/deps/cpu_features/cpu_features.gyp +0 -105
- package/node_modules/cpu-features/deps/cpu_features/include/cpu_features_cache_info.h +0 -54
- package/node_modules/cpu-features/deps/cpu_features/include/cpu_features_macros.h +0 -384
- package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_aarch64.h +0 -259
- package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_arm.h +0 -121
- package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_mips.h +0 -74
- package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_ppc.h +0 -149
- package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_riscv.h +0 -72
- package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_s390x.h +0 -108
- package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_x86.h +0 -288
- package/node_modules/cpu-features/deps/cpu_features/include/internal/bit_utils.h +0 -40
- package/node_modules/cpu-features/deps/cpu_features/include/internal/cpuid_x86.h +0 -37
- package/node_modules/cpu-features/deps/cpu_features/include/internal/filesystem.h +0 -39
- package/node_modules/cpu-features/deps/cpu_features/include/internal/hwcaps.h +0 -240
- package/node_modules/cpu-features/deps/cpu_features/include/internal/stack_line_reader.h +0 -49
- package/node_modules/cpu-features/deps/cpu_features/include/internal/string_view.h +0 -110
- package/node_modules/cpu-features/deps/cpu_features/include/internal/windows_utils.h +0 -70
- package/node_modules/cpu-features/deps/cpu_features/ndk_compat/CMakeLists.txt +0 -60
- package/node_modules/cpu-features/deps/cpu_features/ndk_compat/README.md +0 -4
- package/node_modules/cpu-features/deps/cpu_features/ndk_compat/cpu-features.c +0 -205
- package/node_modules/cpu-features/deps/cpu_features/ndk_compat/cpu-features.h +0 -320
- package/node_modules/cpu-features/deps/cpu_features/ndk_compat/ndk-compat-test.c +0 -12
- package/node_modules/cpu-features/deps/cpu_features/patches/0001-Add-Apple-Silicon-Support.patch +0 -456
- package/node_modules/cpu-features/deps/cpu_features/scripts/generate_badges.d +0 -165
- package/node_modules/cpu-features/deps/cpu_features/scripts/make_release.sh +0 -75
- package/node_modules/cpu-features/deps/cpu_features/scripts/run_integration.sh +0 -490
- package/node_modules/cpu-features/deps/cpu_features/scripts/test_integration.sh +0 -79
- package/node_modules/cpu-features/deps/cpu_features/src/copy.inl +0 -19
- package/node_modules/cpu-features/deps/cpu_features/src/define_introspection.inl +0 -86
- package/node_modules/cpu-features/deps/cpu_features/src/define_introspection_and_hwcaps.inl +0 -26
- package/node_modules/cpu-features/deps/cpu_features/src/equals.inl +0 -22
- package/node_modules/cpu-features/deps/cpu_features/src/filesystem.c +0 -62
- package/node_modules/cpu-features/deps/cpu_features/src/hwcaps.c +0 -169
- package/node_modules/cpu-features/deps/cpu_features/src/impl_aarch64__base_implementation.inl +0 -88
- package/node_modules/cpu-features/deps/cpu_features/src/impl_aarch64_linux_or_android.c +0 -79
- package/node_modules/cpu-features/deps/cpu_features/src/impl_aarch64_macos_or_iphone.c +0 -82
- package/node_modules/cpu-features/deps/cpu_features/src/impl_aarch64_windows.c +0 -138
- package/node_modules/cpu-features/deps/cpu_features/src/impl_arm_linux_or_android.c +0 -212
- package/node_modules/cpu-features/deps/cpu_features/src/impl_mips_linux_or_android.c +0 -93
- package/node_modules/cpu-features/deps/cpu_features/src/impl_ppc_linux.c +0 -163
- package/node_modules/cpu-features/deps/cpu_features/src/impl_riscv_linux.c +0 -111
- package/node_modules/cpu-features/deps/cpu_features/src/impl_s390x_linux.c +0 -120
- package/node_modules/cpu-features/deps/cpu_features/src/impl_x86__base_implementation.inl +0 -2055
- package/node_modules/cpu-features/deps/cpu_features/src/impl_x86_freebsd.c +0 -68
- package/node_modules/cpu-features/deps/cpu_features/src/impl_x86_linux_or_android.c +0 -58
- package/node_modules/cpu-features/deps/cpu_features/src/impl_x86_macos.c +0 -57
- package/node_modules/cpu-features/deps/cpu_features/src/impl_x86_windows.c +0 -58
- package/node_modules/cpu-features/deps/cpu_features/src/stack_line_reader.c +0 -132
- package/node_modules/cpu-features/deps/cpu_features/src/string_view.c +0 -192
- package/node_modules/cpu-features/deps/cpu_features/src/utils/list_cpu_features.c +0 -461
- package/node_modules/cpu-features/deps/cpu_features/test/CMakeLists.txt +0 -114
- package/node_modules/cpu-features/deps/cpu_features/test/bit_utils_test.cc +0 -53
- package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_aarch64_test.cc +0 -396
- package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_arm_test.cc +0 -384
- package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_mips_test.cc +0 -176
- package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_ppc_test.cc +0 -131
- package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_riscv_test.cc +0 -180
- package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_s390x_test.cc +0 -82
- package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_x86_test.cc +0 -1729
- package/node_modules/cpu-features/deps/cpu_features/test/filesystem_for_testing.cc +0 -103
- package/node_modules/cpu-features/deps/cpu_features/test/filesystem_for_testing.h +0 -61
- package/node_modules/cpu-features/deps/cpu_features/test/hwcaps_for_testing.cc +0 -52
- package/node_modules/cpu-features/deps/cpu_features/test/hwcaps_for_testing.h +0 -31
- package/node_modules/cpu-features/deps/cpu_features/test/stack_line_reader_test.cc +0 -132
- package/node_modules/cpu-features/deps/cpu_features/test/string_view_test.cc +0 -202
- package/node_modules/cpu-features/lib/index.js +0 -5
- package/node_modules/cpu-features/package.json +0 -40
- package/node_modules/cpu-features/src/binding.cc +0 -151
- package/node_modules/cpu-features/test/test.js +0 -12
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "buildcheck",
|
|
3
|
-
"version": "0.0.7",
|
|
4
|
-
"author": "Brian White <mscdex@mscdex.net>",
|
|
5
|
-
"description": "Build environment checking (a la autoconf) for node.js",
|
|
6
|
-
"main": "./lib/index.js",
|
|
7
|
-
"engines": {
|
|
8
|
-
"node": ">=10.0.0"
|
|
9
|
-
},
|
|
10
|
-
"devDependencies": {
|
|
11
|
-
"@mscdex/eslint-config": "^1.1.0",
|
|
12
|
-
"eslint": "^7.0.0"
|
|
13
|
-
},
|
|
14
|
-
"scripts": {
|
|
15
|
-
"test": "node test/test.js",
|
|
16
|
-
"lint": "eslint --cache --report-unused-disable-directives --ext=.js .eslintrc.js lib",
|
|
17
|
-
"lint:fix": "npm run lint -- --fix"
|
|
18
|
-
},
|
|
19
|
-
"keywords": [
|
|
20
|
-
"build",
|
|
21
|
-
"autoconf",
|
|
22
|
-
"addons",
|
|
23
|
-
"compiler",
|
|
24
|
-
"environment"
|
|
25
|
-
],
|
|
26
|
-
"licenses": [
|
|
27
|
-
{
|
|
28
|
-
"type": "MIT",
|
|
29
|
-
"url": "http://github.com/mscdex/buildcheck/raw/master/LICENSE"
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
"repository": {
|
|
33
|
-
"type": "git",
|
|
34
|
-
"url": "http://github.com/mscdex/buildcheck.git"
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
name: CI
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
push:
|
|
6
|
-
branches: [ master ]
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
tests-linux:
|
|
10
|
-
runs-on: ubuntu-latest
|
|
11
|
-
strategy:
|
|
12
|
-
fail-fast: false
|
|
13
|
-
matrix:
|
|
14
|
-
node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 22.x]
|
|
15
|
-
steps:
|
|
16
|
-
- uses: actions/checkout@v4
|
|
17
|
-
with:
|
|
18
|
-
persist-credentials: false
|
|
19
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
20
|
-
uses: actions/setup-node@v4
|
|
21
|
-
with:
|
|
22
|
-
node-version: ${{ matrix.node-version }}
|
|
23
|
-
- name: Check Node.js version
|
|
24
|
-
run: node -pe process.versions
|
|
25
|
-
- name: Install module
|
|
26
|
-
run: npm install
|
|
27
|
-
- name: Run tests
|
|
28
|
-
run: npm test
|
|
29
|
-
tests-macos:
|
|
30
|
-
runs-on: macos-latest
|
|
31
|
-
strategy:
|
|
32
|
-
fail-fast: false
|
|
33
|
-
matrix:
|
|
34
|
-
node-version: [16.x, 18.x, 20.x, 22.x]
|
|
35
|
-
env:
|
|
36
|
-
PIP_DISABLE_PIP_VERSION_CHECK: 1
|
|
37
|
-
steps:
|
|
38
|
-
- uses: actions/checkout@v4
|
|
39
|
-
with:
|
|
40
|
-
persist-credentials: false
|
|
41
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
42
|
-
uses: actions/setup-node@v4
|
|
43
|
-
with:
|
|
44
|
-
node-version: ${{ matrix.node-version }}
|
|
45
|
-
- name: Install Python 3.10
|
|
46
|
-
uses: actions/setup-python@v5
|
|
47
|
-
with:
|
|
48
|
-
python-version: '3.10'
|
|
49
|
-
- name: Check Node.js version
|
|
50
|
-
run: node -pe process.versions
|
|
51
|
-
- name: Install module
|
|
52
|
-
run: npm install
|
|
53
|
-
- name: Run tests
|
|
54
|
-
run: npm test
|
|
55
|
-
tests-windows:
|
|
56
|
-
runs-on: windows-2019
|
|
57
|
-
strategy:
|
|
58
|
-
fail-fast: false
|
|
59
|
-
matrix:
|
|
60
|
-
node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 22.x]
|
|
61
|
-
steps:
|
|
62
|
-
- uses: actions/checkout@v4
|
|
63
|
-
with:
|
|
64
|
-
persist-credentials: false
|
|
65
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
66
|
-
uses: actions/setup-node@v4
|
|
67
|
-
with:
|
|
68
|
-
node-version: ${{ matrix.node-version }}
|
|
69
|
-
- name: Check Node.js version
|
|
70
|
-
run: node -pe process.versions
|
|
71
|
-
- name: Install module
|
|
72
|
-
run: npm install
|
|
73
|
-
- name: Run tests
|
|
74
|
-
run: npm test
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
name: lint
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
push:
|
|
6
|
-
branches: [ master ]
|
|
7
|
-
|
|
8
|
-
env:
|
|
9
|
-
NODE_VERSION: 20.x
|
|
10
|
-
|
|
11
|
-
jobs:
|
|
12
|
-
lint-js:
|
|
13
|
-
runs-on: ubuntu-latest
|
|
14
|
-
steps:
|
|
15
|
-
- uses: actions/checkout@v4
|
|
16
|
-
with:
|
|
17
|
-
persist-credentials: false
|
|
18
|
-
- name: Use Node.js ${{ env.NODE_VERSION }}
|
|
19
|
-
uses: actions/setup-node@v4
|
|
20
|
-
with:
|
|
21
|
-
node-version: ${{ env.NODE_VERSION }}
|
|
22
|
-
- name: Check Node.js version
|
|
23
|
-
run: node -pe process.versions
|
|
24
|
-
- name: Install ESLint + ESLint configs/plugins
|
|
25
|
-
run: npm install
|
|
26
|
-
- name: Lint files
|
|
27
|
-
run: npm run lint
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
Copyright Brian White. All rights reserved.
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
of this software and associated documentation files (the "Software"), to
|
|
5
|
-
deal in the Software without restriction, including without limitation the
|
|
6
|
-
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
-
sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
furnished to do so, subject to the following conditions:
|
|
9
|
-
|
|
10
|
-
The above copyright notice and this permission notice shall be included in
|
|
11
|
-
all copies or substantial portions of the Software.
|
|
12
|
-
|
|
13
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
18
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
19
|
-
IN THE SOFTWARE.
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
Description
|
|
3
|
-
===========
|
|
4
|
-
|
|
5
|
-
A simple [node.js](https://nodejs.org) binding to [cpu_features](https://github.com/google/cpu_features) for obtaining information about installed CPU(s).
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Requirements
|
|
9
|
-
============
|
|
10
|
-
|
|
11
|
-
* [node.js](http://nodejs.org/) -- v10.0.0 or newer
|
|
12
|
-
* An appropriate build environment -- see [node-gyp's documentation](https://github.com/nodejs/node-gyp/blob/master/README.md)
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
Install
|
|
16
|
-
=======
|
|
17
|
-
|
|
18
|
-
npm install cpu-features
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
Example
|
|
22
|
-
=======
|
|
23
|
-
|
|
24
|
-
```js
|
|
25
|
-
// Generally it's a good idea to just call this once and
|
|
26
|
-
// reuse the result since `cpu-features` does not cache
|
|
27
|
-
// the result itself.
|
|
28
|
-
const features = require('cpu-features')();
|
|
29
|
-
|
|
30
|
-
console.log(features);
|
|
31
|
-
// example output:
|
|
32
|
-
// { arch: 'x86',
|
|
33
|
-
// brand: 'Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz',
|
|
34
|
-
// family: 6,
|
|
35
|
-
// model: 58,
|
|
36
|
-
// stepping: 9,
|
|
37
|
-
// uarch: 'INTEL_IVB',
|
|
38
|
-
// flags:
|
|
39
|
-
// { fpu: true,
|
|
40
|
-
// tsc: true,
|
|
41
|
-
// cx8: true,
|
|
42
|
-
// clfsh: true,
|
|
43
|
-
// mmx: true,
|
|
44
|
-
// aes: true,
|
|
45
|
-
// erms: true,
|
|
46
|
-
// f16c: true,
|
|
47
|
-
// sse: true,
|
|
48
|
-
// sse2: true,
|
|
49
|
-
// sse3: true,
|
|
50
|
-
// ssse3: true,
|
|
51
|
-
// sse4_1: true,
|
|
52
|
-
// sse4_2: true,
|
|
53
|
-
// avx: true,
|
|
54
|
-
// pclmulqdq: true,
|
|
55
|
-
// cx16: true,
|
|
56
|
-
// popcnt: true,
|
|
57
|
-
// rdrnd: true,
|
|
58
|
-
// ss: true } }
|
|
59
|
-
```
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
'targets': [
|
|
3
|
-
{
|
|
4
|
-
'target_name': 'cpufeatures',
|
|
5
|
-
'dependencies': [ 'deps/cpu_features/cpu_features.gyp:cpu_features' ],
|
|
6
|
-
'include_dirs': [
|
|
7
|
-
'src',
|
|
8
|
-
"<!(node -e \"require('nan')\")",
|
|
9
|
-
],
|
|
10
|
-
'sources': [
|
|
11
|
-
'src/binding.cc'
|
|
12
|
-
],
|
|
13
|
-
'cflags': [ '-O3' ],
|
|
14
|
-
},
|
|
15
|
-
],
|
|
16
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const BuildEnvironment = require('buildcheck');
|
|
4
|
-
|
|
5
|
-
const be = new BuildEnvironment();
|
|
6
|
-
|
|
7
|
-
let gyp = {
|
|
8
|
-
defines: [],
|
|
9
|
-
libraries: [],
|
|
10
|
-
sources: [
|
|
11
|
-
'deps/cpu_features/include/internal/hwcaps.h',
|
|
12
|
-
'deps/cpu_features/src/hwcaps.c',
|
|
13
|
-
],
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
be.checkHeader('c', 'dlfcn.h');
|
|
17
|
-
|
|
18
|
-
if (be.checkDeclared('c', 'getauxval', { headers: ['sys/auxv.h'] }))
|
|
19
|
-
gyp.defines.push('HAVE_STRONG_GETAUXVAL=1');
|
|
20
|
-
|
|
21
|
-
// Add the things we detected
|
|
22
|
-
gyp.defines.push(...be.defines(null, true));
|
|
23
|
-
gyp.libraries.push(...be.libs());
|
|
24
|
-
|
|
25
|
-
gyp = {
|
|
26
|
-
conditions: [
|
|
27
|
-
['OS!="win" and target_arch not in "ia32 x32 x64"',
|
|
28
|
-
gyp],
|
|
29
|
-
],
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
console.log(JSON.stringify(gyp, null, 2));
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# Project Files unneeded by docker
|
|
2
|
-
cmake/ci/Makefile
|
|
3
|
-
cmake/ci/docker
|
|
4
|
-
cmake/ci/doc
|
|
5
|
-
cmake/ci/cache
|
|
6
|
-
.git
|
|
7
|
-
.gitignore
|
|
8
|
-
.github
|
|
9
|
-
.dockerignore
|
|
10
|
-
.clang-format
|
|
11
|
-
appveyor.yml
|
|
12
|
-
.travis.yml
|
|
13
|
-
AUTHORS
|
|
14
|
-
CONTRIBUTING.md
|
|
15
|
-
CONTRIBUTORS
|
|
16
|
-
LICENSE
|
|
17
|
-
README.md
|
|
18
|
-
|
|
19
|
-
build/
|
|
20
|
-
cmake_build/
|
|
21
|
-
build_cross/
|
|
22
|
-
cmake-build-*/
|
|
23
|
-
out/
|
|
24
|
-
|
|
25
|
-
# Editor directories and files
|
|
26
|
-
.idea/
|
|
27
|
-
.vagrant/
|
|
28
|
-
.vscode/
|
|
29
|
-
.vs/
|
|
30
|
-
*.user
|
|
31
|
-
*.swp
|
package/node_modules/cpu-features/deps/cpu_features/.github/workflows/aarch64_linux_cmake.yml
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
name: AArch64 Linux CMake
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
pull_request:
|
|
6
|
-
schedule:
|
|
7
|
-
# min hours day(month) month day(week)
|
|
8
|
-
- cron: '0 0 7,22 * *'
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
# Building using the github runner environement directly.
|
|
12
|
-
make:
|
|
13
|
-
runs-on: ubuntu-latest
|
|
14
|
-
strategy:
|
|
15
|
-
matrix:
|
|
16
|
-
targets: [
|
|
17
|
-
[aarch64],
|
|
18
|
-
[aarch64be],
|
|
19
|
-
[aarch64-linux-gnu],
|
|
20
|
-
[aarch64_be-linux-gnu]
|
|
21
|
-
]
|
|
22
|
-
fail-fast: false
|
|
23
|
-
env:
|
|
24
|
-
TARGET: ${{ matrix.targets[0] }}
|
|
25
|
-
steps:
|
|
26
|
-
- uses: actions/checkout@v2
|
|
27
|
-
- name: Build
|
|
28
|
-
run: make --directory=cmake/ci ${TARGET}_build
|
|
29
|
-
- name: Test
|
|
30
|
-
run: make --directory=cmake/ci ${TARGET}_test
|
package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_freebsd_cmake.yml
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
name: amd64 FreeBSD CMake
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
pull_request:
|
|
6
|
-
schedule:
|
|
7
|
-
# min hours day(month) month day(week)
|
|
8
|
-
- cron: '0 0 7,22 * *'
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
# Only MacOS hosted runner provides virtualisation with vagrant/virtualbox installed.
|
|
12
|
-
# see: https://github.com/actions/virtual-environments/tree/main/images/macos
|
|
13
|
-
make:
|
|
14
|
-
runs-on: macos-10.15
|
|
15
|
-
steps:
|
|
16
|
-
- uses: actions/checkout@v2
|
|
17
|
-
- name: vagrant version
|
|
18
|
-
run: Vagrant --version
|
|
19
|
-
- name: VirtualBox version
|
|
20
|
-
run: virtualbox -h
|
|
21
|
-
- name: Build
|
|
22
|
-
run: cd cmake/ci/vagrant/freebsd && vagrant up
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
name: amd64 Linux Bazel
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
pull_request:
|
|
6
|
-
schedule:
|
|
7
|
-
# min hours day(month) month day(week)
|
|
8
|
-
- cron: '0 0 7,22 * *'
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
# Building using the github runner environement directly.
|
|
12
|
-
bazel:
|
|
13
|
-
runs-on: ubuntu-latest
|
|
14
|
-
steps:
|
|
15
|
-
- name: Check out repository code
|
|
16
|
-
uses: actions/checkout@v2
|
|
17
|
-
- name: Install Bazel
|
|
18
|
-
run: |
|
|
19
|
-
curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel.gpg
|
|
20
|
-
sudo mv bazel.gpg /etc/apt/trusted.gpg.d/
|
|
21
|
-
echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
|
|
22
|
-
sudo apt-get update
|
|
23
|
-
sudo apt-get install bazel
|
|
24
|
-
bazel --version
|
|
25
|
-
- name: Test
|
|
26
|
-
run: bazel test -s --verbose_failures //...
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
name: amd64 Linux CMake
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
pull_request:
|
|
6
|
-
schedule:
|
|
7
|
-
# min hours day(month) month day(week)
|
|
8
|
-
- cron: '0 0 7,22 * *'
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
# Building using the github runner environement directly.
|
|
12
|
-
make:
|
|
13
|
-
runs-on: ubuntu-latest
|
|
14
|
-
steps:
|
|
15
|
-
- uses: actions/checkout@v2
|
|
16
|
-
- name: Env
|
|
17
|
-
run: make --directory=cmake/ci amd64_env
|
|
18
|
-
- name: Devel
|
|
19
|
-
run: make --directory=cmake/ci amd64_devel
|
|
20
|
-
- name: Build
|
|
21
|
-
run: make --directory=cmake/ci amd64_build
|
|
22
|
-
- name: Test
|
|
23
|
-
run: make --directory=cmake/ci amd64_test
|
|
24
|
-
- name: Install Env
|
|
25
|
-
run: make --directory=cmake/ci amd64_install_env
|
|
26
|
-
- name: Install Devel
|
|
27
|
-
run: make --directory=cmake/ci amd64_install_devel
|
|
28
|
-
- name: Install Build
|
|
29
|
-
run: make --directory=cmake/ci amd64_install_build
|
|
30
|
-
- name: Install Test
|
|
31
|
-
run: make --directory=cmake/ci amd64_install_test
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
name: amd64 MacOS CMake
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
pull_request:
|
|
6
|
-
schedule:
|
|
7
|
-
# min hours day(month) month day(week)
|
|
8
|
-
- cron: '0 0 7,22 * *'
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
# Building using the github runner environement directly.
|
|
12
|
-
xcode:
|
|
13
|
-
runs-on: macos-latest
|
|
14
|
-
env:
|
|
15
|
-
CTEST_OUTPUT_ON_FAILURE: 1
|
|
16
|
-
steps:
|
|
17
|
-
- uses: actions/checkout@v2
|
|
18
|
-
- name: Check cmake
|
|
19
|
-
run: cmake --version
|
|
20
|
-
- name: Configure
|
|
21
|
-
run: cmake -S. -Bbuild -G "Xcode" -DCMAKE_CONFIGURATION_TYPES=Release
|
|
22
|
-
- name: Build
|
|
23
|
-
run: cmake --build build --config Release --target ALL_BUILD -v
|
|
24
|
-
- name: Test
|
|
25
|
-
run: cmake --build build --config Release --target RUN_TESTS -v
|
|
26
|
-
- name: Install
|
|
27
|
-
run: cmake --build build --config Release --target install -v
|
|
28
|
-
make:
|
|
29
|
-
runs-on: macos-latest
|
|
30
|
-
env:
|
|
31
|
-
CTEST_OUTPUT_ON_FAILURE: 1
|
|
32
|
-
steps:
|
|
33
|
-
- uses: actions/checkout@v2
|
|
34
|
-
- name: Check cmake
|
|
35
|
-
run: cmake --version
|
|
36
|
-
- name: Configure
|
|
37
|
-
run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release
|
|
38
|
-
- name: Build
|
|
39
|
-
run: cmake --build build --target all -v
|
|
40
|
-
- name: Test
|
|
41
|
-
run: cmake --build build --target test -v
|
|
42
|
-
- name: Install
|
|
43
|
-
run: cmake --build build --target install -v
|
package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_windows_cmake.yml
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
name: amd64 Windows CMake
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
pull_request:
|
|
6
|
-
schedule:
|
|
7
|
-
# min hours day(month) month day(week)
|
|
8
|
-
- cron: '0 0 7,22 * *'
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
# Building using the github runner environement directly.
|
|
12
|
-
msvc:
|
|
13
|
-
runs-on: windows-latest
|
|
14
|
-
env:
|
|
15
|
-
CTEST_OUTPUT_ON_FAILURE: 1
|
|
16
|
-
steps:
|
|
17
|
-
- uses: actions/checkout@v2
|
|
18
|
-
- name: Configure
|
|
19
|
-
run: cmake -S. -Bbuild -G "Visual Studio 17 2022" -DCMAKE_CONFIGURATION_TYPES=Release
|
|
20
|
-
- name: Build
|
|
21
|
-
run: cmake --build build --config Release --target ALL_BUILD -- /maxcpucount
|
|
22
|
-
- name: Test
|
|
23
|
-
run: cmake --build build --config Release --target RUN_TESTS -- /maxcpucount
|
|
24
|
-
- name: Install
|
|
25
|
-
run: cmake --build build --config Release --target INSTALL -- /maxcpucount
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
name: ARM Linux CMake
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
pull_request:
|
|
6
|
-
schedule:
|
|
7
|
-
# min hours day(month) month day(week)
|
|
8
|
-
- cron: '0 0 7,22 * *'
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
# Building using the github runner environement directly.
|
|
12
|
-
make:
|
|
13
|
-
runs-on: ubuntu-latest
|
|
14
|
-
strategy:
|
|
15
|
-
matrix:
|
|
16
|
-
targets: [
|
|
17
|
-
[arm-linux-gnueabihf],
|
|
18
|
-
[armv8l-linux-gnueabihf],
|
|
19
|
-
[arm-linux-gnueabi],
|
|
20
|
-
[armeb-linux-gnueabihf],
|
|
21
|
-
[armeb-linux-gnueabi]
|
|
22
|
-
]
|
|
23
|
-
fail-fast: false
|
|
24
|
-
env:
|
|
25
|
-
TARGET: ${{ matrix.targets[0] }}
|
|
26
|
-
steps:
|
|
27
|
-
- uses: actions/checkout@v2
|
|
28
|
-
- name: Build
|
|
29
|
-
run: make --directory=cmake/ci ${TARGET}_build
|
|
30
|
-
- name: Test
|
|
31
|
-
run: make --directory=cmake/ci ${TARGET}_test
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
name: clang-format Check
|
|
2
|
-
|
|
3
|
-
on: [push, pull_request]
|
|
4
|
-
|
|
5
|
-
jobs:
|
|
6
|
-
# Building using the github runner environement directly.
|
|
7
|
-
clang-format:
|
|
8
|
-
runs-on: ubuntu-latest
|
|
9
|
-
steps:
|
|
10
|
-
- uses: actions/checkout@v2
|
|
11
|
-
- name: Fetch origin/main
|
|
12
|
-
run: git fetch origin main
|
|
13
|
-
- name: List of changed file(s)
|
|
14
|
-
run: git diff --name-only FETCH_HEAD
|
|
15
|
-
|
|
16
|
-
- name: Build clang-format docker
|
|
17
|
-
run: cd .github/workflows && docker build --tag=linter .
|
|
18
|
-
- name: Check clang-format
|
|
19
|
-
run: docker run --rm --init -v $(pwd):/repo linter:latest clang-format --version
|
|
20
|
-
- name: clang-format help
|
|
21
|
-
run: docker run --rm --init -v $(pwd):/repo linter:latest clang-format --help
|
|
22
|
-
|
|
23
|
-
- name: Check current commit
|
|
24
|
-
run: docker run --rm --init -v $(pwd):/repo -w /repo linter:latest sh -c "git diff --diff-filter=d --name-only FETCH_HEAD | grep '\.c$\|\.h$\|\.cc$' | xargs clang-format --style=file --dry-run --Werror "
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
name: MIPS Linux CMake
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
pull_request:
|
|
6
|
-
schedule:
|
|
7
|
-
# min hours day(month) month day(week)
|
|
8
|
-
- cron: '0 0 7,22 * *'
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
# Building using the github runner environement directly.
|
|
12
|
-
make:
|
|
13
|
-
runs-on: ubuntu-latest
|
|
14
|
-
strategy:
|
|
15
|
-
matrix:
|
|
16
|
-
targets: [
|
|
17
|
-
[mips32],
|
|
18
|
-
[mips32el],
|
|
19
|
-
[mips64],
|
|
20
|
-
[mips64el]
|
|
21
|
-
]
|
|
22
|
-
fail-fast: false
|
|
23
|
-
env:
|
|
24
|
-
TARGET: ${{ matrix.targets[0] }}
|
|
25
|
-
steps:
|
|
26
|
-
- uses: actions/checkout@v2
|
|
27
|
-
- name: Build
|
|
28
|
-
run: make --directory=cmake/ci ${TARGET}_build
|
|
29
|
-
- name: Test
|
|
30
|
-
run: make --directory=cmake/ci ${TARGET}_test
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
name: POWER Linux CMake
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
pull_request:
|
|
6
|
-
schedule:
|
|
7
|
-
# min hours day(month) month day(week)
|
|
8
|
-
- cron: '0 0 7,22 * *'
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
# Building using the github runner environement directly.
|
|
12
|
-
make:
|
|
13
|
-
runs-on: ubuntu-latest
|
|
14
|
-
strategy:
|
|
15
|
-
matrix:
|
|
16
|
-
targets: [
|
|
17
|
-
[ppc],
|
|
18
|
-
[ppc64],
|
|
19
|
-
[ppc64le],
|
|
20
|
-
]
|
|
21
|
-
fail-fast: false
|
|
22
|
-
env:
|
|
23
|
-
TARGET: ${{ matrix.targets[0] }}
|
|
24
|
-
steps:
|
|
25
|
-
- uses: actions/checkout@v2
|
|
26
|
-
- name: Build
|
|
27
|
-
run: make --directory=cmake/ci ${TARGET}_build
|
|
28
|
-
- name: Test
|
|
29
|
-
run: make --directory=cmake/ci ${TARGET}_test
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
name: RISCV Linux CMake
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
pull_request:
|
|
6
|
-
schedule:
|
|
7
|
-
# min hours day(month) month day(week)
|
|
8
|
-
- cron: '0 0 7,22 * *'
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
# Building using the github runner environement directly.
|
|
12
|
-
make:
|
|
13
|
-
runs-on: ubuntu-latest
|
|
14
|
-
strategy:
|
|
15
|
-
matrix:
|
|
16
|
-
targets: [
|
|
17
|
-
[riscv32],
|
|
18
|
-
[riscv64],
|
|
19
|
-
]
|
|
20
|
-
fail-fast: false
|
|
21
|
-
env:
|
|
22
|
-
TARGET: ${{ matrix.targets[0] }}
|
|
23
|
-
steps:
|
|
24
|
-
- uses: actions/checkout@v2
|
|
25
|
-
- name: Build
|
|
26
|
-
run: make --directory=cmake/ci ${TARGET}_build
|
|
27
|
-
- name: Test
|
|
28
|
-
run: make --directory=cmake/ci ${TARGET}_test
|