GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — build: add crypto check to build targets · nodejs/node@c42ff4e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • Makefile
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Makefile‎

Copy file name to clipboardExpand all lines: Makefile
+11-3Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,16 @@ ifeq ($(OSTYPE),aix)
320320
DOCBUILDSTAMP_PREREQS := $(DOCBUILDSTAMP_PREREQS) out/$(BUILDTYPE)/node.exp
321321
endif
322322

323+
node_use_openssl = $(shell $(call available-node,"-p" \
324+
"process.versions.openssl != undefined"))
323325
test/addons/.docbuildstamp: $(DOCBUILDSTAMP_PREREQS) tools/doc/node_modules
326+
ifeq ($(node_use_openssl),true)
324327
$(RM) -r test/addons/??_*/
325328
[ -x $(NODE) ] && $(NODE) $< || node $<
326329
touch $@
330+
else
331+
@echo "Skipping .docbuildstamp (no crypto)"
332+
endif
327333

328334
ADDONS_BINDING_GYPS := \
329335
$(filter-out test/addons/??_*/binding.gyp, \
@@ -1062,15 +1068,17 @@ lint-md-build: tools/remark-cli/node_modules \
10621068

10631069
.PHONY: tools/doc/node_modules
10641070
tools/doc/node_modules:
1065-
@cd tools/doc && $(call available-node,$(run-npm-install))
1071+
ifeq ($(node_use_openssl),true)
1072+
cd tools/doc && $(call available-node,$(run-npm-install))
1073+
else
1074+
@echo "Skipping tools/doc/node_modules (no crypto)"
1075+
endif
10661076

10671077
.PHONY: lint-md
10681078
ifneq ("","$(wildcard tools/remark-cli/node_modules/)")
10691079

10701080
LINT_MD_DOC_FILES = $(shell ls doc/*.md doc/**/*.md)
10711081
run-lint-doc-md = tools/remark-cli/cli.js -q -f $(LINT_MD_DOC_FILES)
1072-
node_use_openssl = $(shell $(call available-node,"-p" \
1073-
"process.versions.openssl != undefined"))
10741082
# Lint all changed markdown files under doc/
10751083
tools/.docmdlintstamp: $(LINT_MD_DOC_FILES)
10761084
ifeq ($(node_use_openssl),true)

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.