h5wasm-plugins
Advanced tools
Comparing version
@@ -8,6 +8,6 @@ cmake_minimum_required(VERSION 3.24) | ||
set(CMAKE_BUILD_TYPE Release) | ||
set(CMAKE_EXE_LINKER_FLAGS_INIT "-sNODERAWFS=1 -sFORCE_FILESYSTEM=1 -sSINGLE_FILE=1 --extern-pre-js=${base_path}/shebang.txt" CACHE INTERNAL "") | ||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -sNODERAWFS=1 -sFORCE_FILESYSTEM=1 --extern-pre-js=${base_path}/shebang.txt") | ||
# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -sWASM_BIGINT -v") | ||
# set(CMAKE_C_FLAGS_INIT "-sUSE_ZLIB=1" CACHE INTERNAL "") | ||
set(CMAKE_POSITION_INDEPENDENT_CODE ON CACHE BOOL "use -fPIC for all libs" FORCE) | ||
set(EMSCRIPTEN_LINK_FLAGS "-s WASM=1 -s SIDE_MODULE=2 -v") | ||
message(STATUS "CMAKE_MODULE_PATH: ${CMAKE_MODULE_PATH}") | ||
@@ -64,12 +64,12 @@ list(APPEND CMAKE_MODULE_PATH "${base_path}/dist") | ||
set (H5PL_ALLOW_EXTERNAL_SUPPORT "TGZ" CACHE STRING "Allow External Library Building (NO GIT TGZ)" FORCE) | ||
set (ENABLE_BLOSC ON) | ||
option (ENABLE_BLOSC "blosc" ON) | ||
set (BLOSC_PACKAGE_NAME "BLOSC") | ||
set (BLOSC_TGZ_NAME "c-blosc-1.21.5.tar.gz") | ||
set (ENABLE_BSHUF ON) | ||
option (ENABLE_BSHUF "bshuf" ON) | ||
set (BSHUF_TGZ_NAME "bitshuffle-0.5.1.tar.gz") | ||
set (BSHUF_PACKAGE_NAME "BSHUF") | ||
set (ENABLE_BZIP2 ON) | ||
option (ENABLE_BZIP2 "bzip2" ON) | ||
set (BZ2_TGZ_NAME "bzip2-bzip2-1.0.8.tar.gz") | ||
set (BZ2_PACKAGE_NAME "BZ2") | ||
set (ENABLE_JPEG ON) | ||
option (ENABLE_JPEG "jpeg" ON) | ||
set (JPEG_TGZ_NAME "jpegsrc.v9e.tar.gz") | ||
@@ -80,13 +80,13 @@ set (JPEG_PACKAGE_NAME "JPEG") | ||
set (LZ4_PACKAGE_NAME "LZ4") | ||
set (ENABLE_LZF ON) | ||
option (ENABLE_LZF "lzf" ON) | ||
set (LZF_TGZ_NAME "liblzf-3.6.tar.gz") | ||
set (LZF_PACKAGE_NAME "LZF") | ||
set (ENABLE_SZ ON) | ||
option (ENABLE_SZ "sz" ON) | ||
set (SZ_TGZ_NAME "SZ-2.1.12.5.tar.gz") | ||
set (SZ_PACKAGE_NAME "SZ") | ||
# set (SZ_FIND_DEPS ON) | ||
set (ENABLE_ZFP ON) | ||
option (ENABLE_ZFP "zfp" ON) | ||
set (ZFP_TGZ_NAME "zfp-1.0.0.tar.gz") | ||
set (ZFP_PACKAGE_NAME "ZFP") | ||
set (ENABLE_ZSTD ON) | ||
option (ENABLE_ZSTD "zstd" ON) | ||
set (ZSTD_TGZ_NAME "zstd-1.5.5.tar.gz") | ||
@@ -107,3 +107,3 @@ set (ZSTD_PACKAGE_NAME "ZSTD") | ||
COMMAND | ||
${CMAKE_C_COMPILER} -s SIDE_MODULE=1 -gsource-map ${plugin_libs} ${external_libs} -o ${_plugin_name} | ||
${CMAKE_C_COMPILER} -sSIDE_MODULE=1 -sWASM_BIGINT ${plugin_libs} ${external_libs} -o ${_plugin_name} | ||
DEPENDS ${plugin_depends} | ||
@@ -115,3 +115,3 @@ ) | ||
build_shared_plugin(bz2 "libh5bz2.a;libbz2.a" "h5bz2;bz2-static" "") | ||
# build_shared_plugin(bshuf "libh5bshuf.a" "h5bshuf" "") | ||
build_shared_plugin(bshuf "libh5bshuf.a" "h5bshuf" "") | ||
build_shared_plugin(zstd "libh5zstd.a;libzstd.a" "h5zstd;libzstd_static" "") | ||
@@ -118,0 +118,0 @@ build_shared_plugin(lz4 "libh5lz4.a" "h5lz4" "") |
{ | ||
"name": "h5wasm-plugins", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "compression plugins for h5wasm", | ||
@@ -5,0 +5,0 @@ "main": "index.mjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
3810745
4.09%22
37.5%187
53.28%1
-50%83
Infinity%9
12.5%