Project

General

Profile

Actions

Feature #20524

closed

mswin and gmp

Added by MSP-Greg (Greg L) 6 months ago. Updated 5 months ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:118173]

Description

Currently, the vcpkg.json file exists, and it can be used to specify what MSFT/vcpkg packages to install, and also a repo commit, which will determine the what package versions are used. The file lists the gmp package.

  1. To use the gmp package in mswin, win32/configure.bat shows an option of --with-gmp. This option is not used in the windows.yml workflow file, nor is it mentioned in doc/windows.md.

  2. When using the option, the build fails when compiling bignum.c, as it can’t find gmp.h. It appears the vcpkg include folder is not being passed to cl?

So, it seems a few things are amiss. gmp was added a long time ago. With current mswin builds, will gmp improve Bignum’s performance? Is that unknown? If there are benchmarks to determine this, I could certainly run them…

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0