diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-03-20 23:28:01 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-03-21 00:01:39 +0000 |
commit | 0e5f6b9d2f466a7339e7df5efd520b822b991e0b (patch) | |
tree | d62b2805549ba8d6fbec68b63e72f43dab1a879c | |
parent | ec6f10e0cc6c6befdb0489f0b301ec68c1af7faf (diff) | |
download | ports-0e5f6b9d2f466a7339e7df5efd520b822b991e0b.tar.gz ports-0e5f6b9d2f466a7339e7df5efd520b822b991e0b.zip |
misc/glow: Remove expired port:
2023-03-21 misc/glow: Broken since 2021
-rw-r--r-- | MOVED | 1 | ||||
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/glow/Makefile | 59 | ||||
-rw-r--r-- | misc/glow/distinfo | 13 | ||||
-rw-r--r-- | misc/glow/files/patch-CMakeLists.txt | 58 | ||||
-rw-r--r-- | misc/glow/files/patch-lib_LLVMIRCodeGen_LLVMCompiledFunction.cpp | 11 | ||||
-rw-r--r-- | misc/glow/pkg-descr | 4 | ||||
-rw-r--r-- | misc/glow/pkg-plist | 170 |
8 files changed, 1 insertions, 316 deletions
@@ -17805,3 +17805,4 @@ devel/libzrtpcpp||2023-03-20|Has expired: Broken since 2021 devel/riscv64-gcc||2023-03-20|Has expired: Unsupported version and users should move to devel/freebsd-gcc12@riscv64 devel/frama-c||2023-03-20|Has expired: Broken since 2021 misc/dahdi-kmod||2023-03-20|Has expired: Broken since 2021 +misc/glow||2023-03-20|Has expired: Broken since 2021 diff --git a/misc/Makefile b/misc/Makefile index 27a2f973e5b8..a0458dced692 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -155,7 +155,6 @@ SUBDIR += gkrellshoot2 SUBDIR += gkx86info2 SUBDIR += global-tz - SUBDIR += glow SUBDIR += gnome-devel-docs SUBDIR += gnome-getting-started-docs SUBDIR += gnome-icon-theme diff --git a/misc/glow/Makefile b/misc/glow/Makefile deleted file mode 100644 index 938bb09e09c1..000000000000 --- a/misc/glow/Makefile +++ /dev/null @@ -1,59 +0,0 @@ -PORTNAME= glow -DISTVERSION= g20200721 -PORTREVISION= 7 -CATEGORIES= misc # machine-learning -PKGNAMESUFFIX= -nn-compiler - -MAINTAINER= yuri@FreeBSD.org -COMMENT= Machine learning compiler and execution engine -WWW= https://github.com/pytorch/glow - -LICENSE= APACHE20 -LICENSE_FILE= ${WRKSRC}/LICENSE - -BROKEN_i386= non-constant-expression cannot be narrowed from type 'dim_t', see https://github.com/pytorch/glow/issues/4024 -BROKEN= does not link: undefined reference to typeinfo for snappy::Source -DEPRECATED= Broken since 2021 -EXPIRATION_DATE= 2023-03-21 - -LIB_DEPENDS= libLLVM-${LLVM_VER:R}.so:devel/llvm${LLVM_VER:S/.//} \ - libboost_system.so:devel/boost-libs \ - libdouble-conversion.so:devel/double-conversion \ - libevent.so:devel/libevent \ - libfolly.so:devel/folly \ - libglog.so:devel/glog \ - libpng.so:graphics/png \ - libprotobuf.so:devel/protobuf \ - libsnappy.so:archivers/snappy \ - libsodium.so:security/libsodium - -USES= cmake compiler:c++14-lang python:build -USE_GITHUB= yes -GH_ACCOUNT= pytorch -GH_TAGNAME= f24d960e3cc80db95ac0bc17b1900dbf60ca044a -GH_TUPLE= \ - google:benchmark:090faec:googlebenchmark/tests/googlebenchmark \ - houseroad:foxi:8015abb:foxi/thirdparty/foxi \ - Maratyszcza:FP16:34d4bf0:fp16/thirdparty/fp16 \ - onnx:onnx:50dc186:onnx/thirdparty/onnx \ - stp:OutputCheck:eab62a5:OutputCheck/tests/OutputCheck - -CMAKE_ARGS= -DFREEBSD_LLVM_VERSION:STRING=${LLVM_VER} -DGIT_SHA1:STRING="\"${GH_TAGNAME}\"" -DGIT_DATE:STRING="\"${DISTVERSION:S/g//}\"" -#CMAKE_ON= BUILD_SHARED_LIBS # this causes build failure: undefined reference to llvm::cfg::Update<llvm::BasicBlock*>::dump() const -CMAKE_OFF= GLOW_BUILD_EXAMPLES GLOW_BUILD_TESTS - -BINARY_ALIAS= python=${PYTHON_CMD} -BINARY_ALIAS+= c++=${LOCALBASE}/bin/clang++${LLVM_VER:S/.//} # workaround for the llvm version mixup: https://github.com/pytorch/glow/issues/4910 - -LLVM_VER= ${LLVM_DEFAULT:C/(.)(.)/\1.\2/} - -post-configure: # not sure what causes -lgflags_shared to appear in build.ninja - @${REINPLACE_CMD} -e 's|-lgflags_shared|-L${LOCALBASE}/lib -lgflags|g' ${BUILD_WRKSRC}/build.ninja - -do-install: # https://github.com/pytorch/glow/issues/3461 - cd ${WRKSRC} && ${COPYTREE_SHARE} include ${STAGEDIR}${PREFIX} - cd ${BUILD_WRKSRC} && ${COPYTREE_SHARE} glow ${STAGEDIR}${PREFIX}/include - cd ${WRKSRC}/thirdparty/foxi/foxi && ${MKDIR} ${STAGEDIR}${PREFIX}/include/foxi && (for f in `${LS} *.h`; do ${INSTALL_DATA} $$f ${STAGEDIR}${PREFIX}/include/foxi; done;) - (for lib in `${FIND} ${BUILD_WRKSRC} -name "*.a"`; do ${INSTALL_DATA} $$lib ${STAGEDIR}${PREFIX}/lib/; done;) - -.include <bsd.port.mk> diff --git a/misc/glow/distinfo b/misc/glow/distinfo deleted file mode 100644 index 379036638545..000000000000 --- a/misc/glow/distinfo +++ /dev/null @@ -1,13 +0,0 @@ -TIMESTAMP = 1595389132 -SHA256 (pytorch-glow-g20200721-f24d960e3cc80db95ac0bc17b1900dbf60ca044a_GH0.tar.gz) = 1cb265b9d000a096360c5a5f452bf5080ea939dda6781f700eba4151045de749 -SIZE (pytorch-glow-g20200721-f24d960e3cc80db95ac0bc17b1900dbf60ca044a_GH0.tar.gz) = 48551013 -SHA256 (google-benchmark-090faec_GH0.tar.gz) = 0699cf1ac5ef31ebc15ded60329ca8b90cf0b4ae75c18eaf7300fe8a4c914a0f -SIZE (google-benchmark-090faec_GH0.tar.gz) = 150159 -SHA256 (houseroad-foxi-8015abb_GH0.tar.gz) = 07dc191ef38426617e6180e795fb3e3c5bf122445804003afa213dd762269213 -SIZE (houseroad-foxi-8015abb_GH0.tar.gz) = 28531 -SHA256 (Maratyszcza-FP16-34d4bf0_GH0.tar.gz) = e8d1f7190aaa9a2bedb92620c5b2e93529be3be37dd1f0c23e741cbef18365b2 -SIZE (Maratyszcza-FP16-34d4bf0_GH0.tar.gz) = 70697 -SHA256 (onnx-onnx-50dc186_GH0.tar.gz) = 1ec0e2a61be055e4cccb2546e78f7a48d8f1999a707a9907a58cfebd3c966318 -SIZE (onnx-onnx-50dc186_GH0.tar.gz) = 2445813 -SHA256 (stp-OutputCheck-eab62a5_GH0.tar.gz) = 003939b6e0b9cd306497873320f62bb52f35ef50346ae6622fa102ea95fb5b7e -SIZE (stp-OutputCheck-eab62a5_GH0.tar.gz) = 16493 diff --git a/misc/glow/files/patch-CMakeLists.txt b/misc/glow/files/patch-CMakeLists.txt deleted file mode 100644 index ddf86a4a6117..000000000000 --- a/misc/glow/files/patch-CMakeLists.txt +++ /dev/null @@ -1,58 +0,0 @@ ---- CMakeLists.txt.orig 2020-07-22 01:12:44 UTC -+++ CMakeLists.txt -@@ -173,7 +173,7 @@ endif () - # Top level setup for external backends - ExternalBackendsInit() - --find_package(LLVM CONFIG) -+find_package(LLVM ${FREEBSD_LLVM_VERSION} CONFIG) - if(NOT LLVM_FOUND OR LLVM_VERSION VERSION_LESS 7.0) - message(SEND_ERROR "LLVM >= 7.0 is required to build Glow") - endif() -@@ -186,7 +186,7 @@ if(NOT EXISTS "${GLOW_SOURCE_DIR}/tests/googlebenchmar - message(FATAL_ERROR "No googlebenchmark git submodule. Run: git submodule update --init --recursive") - endif() - --if(NOT EXISTS "${GLOW_SOURCE_DIR}/tests/googletest/googletest") -+if(FALSE AND NOT EXISTS "${GLOW_SOURCE_DIR}/tests/googletest/googletest") - message(FATAL_ERROR "No googletest git submodule. Run: git submodule update --init --recursive") - endif() - -@@ -207,11 +207,11 @@ if(NOT EXISTS "${GLOW_THIRDPARTY_DIR}/fp16") - else() - include_directories(${GLOW_THIRDPARTY_DIR}/fp16/include) - endif() --if (MSVC) -+if (TRUE OR MSVC) - find_package(folly CONFIG REQUIRED) -- find_library(JEMALLOC_LIB jemalloc) -+ #find_library(JEMALLOC_LIB jemalloc) - add_library(folly_jemalloc INTERFACE) -- target_link_libraries(folly_jemalloc INTERFACE Folly::folly Folly::folly_deps Folly::follybenchmark Folly::folly_test_util ${JEMALLOC_LIB}) -+ target_link_libraries(folly_jemalloc INTERFACE Folly::folly Folly::folly_deps Folly::follybenchmark Folly::folly_test_util) - elseif(NOT EXISTS "${GLOW_THIRDPARTY_DIR}/folly/folly") - message(FATAL_ERROR "No folly git submodule. Run: git submodule update --init --recursive") - else() -@@ -231,15 +231,15 @@ else() - endif() - set(SAVE_CMAKE_CXX_STANDARD "${CMAKE_CXX_STANDARD}") - unset(CMAKE_CXX_STANDARD) -- set(CXX_STD "c++14" CACHE STRING "Force c++14 for folly") -- set(COMPILER_HAS_F_ALIGNED_NEW OFF CACHE BOOL "turn off -faligned_new for folly") -- add_subdirectory("${GLOW_THIRDPARTY_DIR}/folly" EXCLUDE_FROM_ALL) -- target_include_directories(folly PUBLIC "${OPENSSL_INCLUDE_DIR}") -+ #set(CXX_STD "c++14" CACHE STRING "Force c++14 for folly") -+ #set(COMPILER_HAS_F_ALIGNED_NEW OFF CACHE BOOL "turn off -faligned_new for folly") -+ #add_subdirectory("${GLOW_THIRDPARTY_DIR}/folly" EXCLUDE_FROM_ALL) -+ #target_include_directories(folly PUBLIC "${OPENSSL_INCLUDE_DIR}") - set(CMAKE_CXX_FLAGS "${SAVE_CMAKE_CXX_FLAGS}") - set(CMAKE_CXX_STANDARD "${SAVE_CMAKE_CXX_STANDARD}") -- find_library(JEMALLOC_LIB jemalloc) -- add_library(folly_jemalloc INTERFACE) -- target_link_libraries(folly_jemalloc INTERFACE folly ${JEMALLOC_LIB}) -+ #find_library(JEMALLOC_LIB jemalloc) -+ #add_library(folly_jemalloc INTERFACE) -+ #target_link_libraries(folly_jemalloc INTERFACE folly ${JEMALLOC_LIB}) - endif() - - add_library(Miniz diff --git a/misc/glow/files/patch-lib_LLVMIRCodeGen_LLVMCompiledFunction.cpp b/misc/glow/files/patch-lib_LLVMIRCodeGen_LLVMCompiledFunction.cpp deleted file mode 100644 index ba1b2c8ea972..000000000000 --- a/misc/glow/files/patch-lib_LLVMIRCodeGen_LLVMCompiledFunction.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/LLVMIRCodeGen/LLVMCompiledFunction.cpp.orig 2020-01-15 20:31:37 UTC -+++ lib/LLVMIRCodeGen/LLVMCompiledFunction.cpp -@@ -99,7 +99,7 @@ Error LLVMCompiledFunction::execute(ExecutionContext * - auto *traceContext = context->getTraceContext(); - TRACE_EVENT_SCOPE_NAMED(traceContext, TraceLevel::RUNTIME, - "findJitmainSymbol", fjEvent); -- Expected<llvm::JITTargetAddress> address = NULL; -+ Expected<llvm::JITTargetAddress> address = 0; - { - std::lock_guard<std::mutex> lock(JITLock_); - auto sym = JIT_->findSymbol("jitmain"); diff --git a/misc/glow/pkg-descr b/misc/glow/pkg-descr deleted file mode 100644 index 20589680ba04..000000000000 --- a/misc/glow/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -Glow is a machine learning compiler and execution engine for hardware -accelerators. It is designed to be used as a backend for high-level machine -learning frameworks. The compiler is designed to allow state of the art compiler -optimizations and code generation of neural network graphs. diff --git a/misc/glow/pkg-plist b/misc/glow/pkg-plist deleted file mode 100644 index 2ac5908ea1b5..000000000000 --- a/misc/glow/pkg-plist +++ /dev/null @@ -1,170 +0,0 @@ -include/foxi/onnxifi.h -include/foxi/onnxifi_ext.h -include/foxi/onnxifi_loader.h -include/glow/AutoGenIRBuilder.cpp -include/glow/AutoGenIRBuilder.h -include/glow/AutoGenIRGen.h -include/glow/AutoGenInstr.cpp -include/glow/AutoGenInstr.def -include/glow/AutoGenInstr.h -include/glow/AutoGenNodes.cpp -include/glow/AutoGenNodes.def -include/glow/AutoGenNodes.h -include/glow/AutoGenNodesExport.h -include/glow/AutoGenNodesImport.h -include/glow/Backend/Backend.h -include/glow/Backend/BackendUtils.h -include/glow/Backend/CompiledFunction.h -include/glow/Backends/BackendOptions.h -include/glow/Backends/DeviceManager.h -include/glow/Backends/DummyDeviceManager.h -include/glow/Backends/Interpreter/Interpreter.h -include/glow/Backends/Interpreter/InterpreterDeviceManager.h -include/glow/Backends/Interpreter/InterpreterFunction.h -include/glow/Backends/LayoutConverter.h -include/glow/Backends/QueueBackedDeviceManager.h -include/glow/Base/DeviceTensorTransferManager.h -include/glow/Base/DimType.h -include/glow/Base/IO.h -include/glow/Base/Image.h -include/glow/Base/TaggedList.h -include/glow/Base/Tensor.h -include/glow/Base/TensorSerialization.h -include/glow/Base/Train.h -include/glow/Base/Traits.h -include/glow/Base/Type.h -include/glow/CPUSpecificInstrsVerification.h -include/glow/CPUSpecificNodesVerification.h -include/glow/CodeGen/MemoryAllocator.h -include/glow/Converter/Float16Converter.h -include/glow/Converter/FunctionConverter.h -include/glow/Converter/TypeAToTypeBFunctionConverter.h -include/glow/ExecutionContext/ExecutionContext.h -include/glow/ExecutionContext/TraceEvents.h -include/glow/ExecutionEngine/ExecutionEngine.h -include/glow/Exporter/CommonOperatorWriter.h -include/glow/Exporter/ONNXModelWriter.h -include/glow/Exporter/ProtobufWriter.h -include/glow/Graph/Grad.h -include/glow/Graph/Graph.h -include/glow/Graph/Hook.h -include/glow/Graph/Log.h -include/glow/Graph/Node.h -include/glow/Graph/NodeValue.h -include/glow/Graph/Nodes.h -include/glow/Graph/PlaceholderBindings.h -include/glow/Graph/TensorLayout.h -include/glow/Graph/UseDef.h -include/glow/Graph/Utils.h -include/glow/Graph/VerifierHelper.h -include/glow/IR/IR.h -include/glow/IR/IRBuilder.h -include/glow/IR/IRGen.h -include/glow/IR/IRUtils.h -include/glow/IR/Instrs.h -include/glow/Importer/Caffe2ModelLoader.h -include/glow/Importer/CommonOperatorLoader.h -include/glow/Importer/ONNXIFIModelLoader.h -include/glow/Importer/ONNXModelLoader.h -include/glow/Importer/ProtobufLoader.h -include/glow/Importer/TFLiteModelLoader.h -include/glow/InstrGenIncludes.h -include/glow/LLVMIRCodeGen/AllocationsInfo.h -include/glow/LLVMIRCodeGen/GlowJIT.h -include/glow/LLVMIRCodeGen/JITFilePrinter.h -include/glow/LLVMIRCodeGen/LLVMBackend.h -include/glow/LLVMIRCodeGen/LLVMCompiledFunction.h -include/glow/LLVMIRCodeGen/LLVMIRGen.h -include/glow/NodeGenIncludes.h -include/glow/ONNXModelWriterIncludes.h -include/glow/Optimizer/GraphOptimizer/CompilationContext.h -include/glow/Optimizer/GraphOptimizer/FunctionPass.h -include/glow/Optimizer/GraphOptimizer/FunctionPassManager.h -include/glow/Optimizer/GraphOptimizer/FunctionPassPipeline.h -include/glow/Optimizer/GraphOptimizer/FunctionPasses.def -include/glow/Optimizer/GraphOptimizer/FunctionPasses.h -include/glow/Optimizer/GraphOptimizer/GraphOptimizer.h -include/glow/Optimizer/GraphOptimizer/NodeSplitting.h -include/glow/Optimizer/GraphOptimizer/TrainingPreparation.h -include/glow/Optimizer/IROptimizer/CommandLine.h -include/glow/Optimizer/IROptimizer/IRFunctionPass.h -include/glow/Optimizer/IROptimizer/IRFunctionPassManager.h -include/glow/Optimizer/IROptimizer/IRFunctionPassPipeline.h -include/glow/Optimizer/IROptimizer/IRFunctionPasses.h -include/glow/Optimizer/IROptimizer/IROptimizer.h -include/glow/Optimizer/IROptimizer/IRPasses.def -include/glow/Optimizer/Lower/Lower.h -include/glow/Partitioner/Partitioner.h -include/glow/Partitioner/PartitionerBase.h -include/glow/Partitioner/PartitionerOptimizer.h -include/glow/Partitioner/PartitionerTypes.h -include/glow/Partitioner/PartitionerUtils.h -include/glow/Partitioner/PartitionerValidation.h -include/glow/PassManager/Pass.h -include/glow/PassManager/PassConfig.h -include/glow/PassManager/PassConfigUtils.h -include/glow/PassManager/PassManager.h -include/glow/PassManager/Pipeline.h -include/glow/Quantization/Base/Base.h -include/glow/Quantization/Base/Calibration.h -include/glow/Quantization/Base/Profile.h -include/glow/Quantization/Quantization.h -include/glow/Quantization/Serialization.h -include/glow/Runtime/DeferredWeightLoader.h -include/glow/Runtime/DeviceHealthMonitor.h -include/glow/Runtime/Executor/Executor.h -include/glow/Runtime/Executor/NetworkExecutionState.h -include/glow/Runtime/Executor/ThreadPoolExecutor.h -include/glow/Runtime/HostManager/HostManager.h -include/glow/Runtime/Provisioner/Provisioner.h -include/glow/Runtime/RequestData.h -include/glow/Runtime/RuntimeTypes.h -include/glow/Runtime/StatsExporter.h -include/glow/Support/BFloat16.h -include/glow/Support/Compiler.h -include/glow/Support/Debug.h -include/glow/Support/Error.h -include/glow/Support/Float16.h -include/glow/Support/Memory.h -include/glow/Support/Random.h -include/glow/Support/Register.h -include/glow/Support/Support.h -include/glow/Support/TensorPool.h -include/glow/Support/ThreadPool.h -include/glow/Support/ZipUtils.h -include/glow/Testing/StrCheck.h -include/glow/libjit/libjit_cpu.inc -lib/libBackend.a -lib/libBackends.a -lib/libBase.a -lib/libCPUBackend.a -lib/libCPURuntimeNative.a -lib/libCodeGen.a -lib/libConverter.a -lib/libExecutionContext.a -lib/libExecutionEngine.a -lib/libExecutor.a -lib/libExporter.a -lib/libGraph.a -lib/libGraphOptimizer.a -lib/libGraphOptimizerPipeline.a -lib/libHostManager.a -lib/libIR.a -lib/libIROptimizer.a -lib/libIROptimizerPipeline.a -lib/libImporter.a -lib/libInterpreter.a -lib/libLLVMIRCodeGen.a -lib/libLower.a -lib/libMemberType.a -lib/libMiniz.a -lib/libPartitioner.a -lib/libPassManager.a -lib/libProvisioner.a -lib/libQuantization.a -lib/libQuantizationBase.a -lib/libRuntime.a -lib/libSupport.a -lib/libTensorPool.a -lib/libonnx_proto.a -lib/libonnxifi-glow-lib.a |