Skip to content

Commit 4e8a81b

Browse files
committed
Update default environment variable values
1 parent f78ef34 commit 4e8a81b

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

tools/make/common.mk

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ DEPS_EMSDK_BINARYEN_VERSION ?= master
318318
DEPS_WABT_BUILD_OUT ?= $(DEPS_BUILD_DIR)/wabt
319319

320320
# Define the Cephes distribution to build (netlib, moshier, cephes-2.8):
321-
DEPS_CEPHES_DIST ?= netlib
321+
DEPS_CEPHES_DIST ?= moshier
322322

323323
# Define the list of Cephes libraries to build.
324324
#
@@ -343,27 +343,25 @@ DEPS_CEPHES_DIST ?= netlib
343343
# - remes
344344
# - single
345345
#
346+
# * For the `moshier` distribution, the list may include the following libraries:
347+
#
348+
# - 128bit
349+
# - double
350+
# - ldouble
351+
# - qlib
352+
# - single
353+
#
346354
DEPS_CEPHES_LIBS ?= \
347-
128bit \
348-
bessel \
349-
c9x-complex \
350-
cmath \
351-
cprob \
352-
ellf \
353-
eval \
354-
ieee \
355-
ldouble \
356-
linalg \
357-
ode \
358-
misc \
359-
polyn \
360-
qfloat \
361-
remes \
355+
double \
362356
single
363357

364358
# Define the output path when building Cephes:
365359
ifeq ($(DEPS_CEPHES_DIST), netlib)
366360
DEPS_CEPHES_BUILD_OUT ?= $(DEPS_BUILD_DIR)/netlib_cephes
361+
else
362+
ifeq ($(DEPS_CEPHES_DIST), moshier)
363+
DEPS_CEPHES_BUILD_OUT ?= $(DEPS_BUILD_DIR)/moshier_cephes
367364
else
368365
DEPS_CEPHES_BUILD_OUT ?= $(DEPS_BUILD_DIR)/cephes
369366
endif
367+
endif

0 commit comments

Comments
 (0)