Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
nbbeeken committed Jun 13, 2024
1 parent 76c144c commit 9bc08f1
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/scripts/libmongocrypt.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -133,23 +133,13 @@ export async function buildLibMongoCrypt(libmongocryptRoot, nodeDepsRoot, option

await run(
'cmake',
[
'--parallel',
'4',
...CMAKE_FLAGS,
...WINDOWS_CMAKE_FLAGS,
...MACOS_CMAKE_FLAGS,
libmongocryptRoot
],
[...CMAKE_FLAGS, ...WINDOWS_CMAKE_FLAGS, ...MACOS_CMAKE_FLAGS, libmongocryptRoot],
{ cwd: nodeBuildRoot }
);
await run(
'cmake',
['--parallel', '4', '--build', '.', '--target', 'install', '--config', 'RelWithDebInfo'],
{
cwd: nodeBuildRoot
}
);

await run('cmake', ['--build', '.', '--target', 'install', '--config', 'RelWithDebInfo'], {
cwd: nodeBuildRoot
});
}

export async function downloadLibMongoCrypt(nodeDepsRoot, { ref, crypto }, fastDownload) {
Expand Down

0 comments on commit 9bc08f1

Please sign in to comment.