-
-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dpp: update to v10.0.29 #2938
dpp: update to v10.0.29 #2938
Conversation
It does not work for windows.
|
How to explicitly exclude arm builds for windows ? |
packages/d/dpp/xmake.lua
Outdated
@@ -78,6 +79,10 @@ package("dpp") | |||
if package:version():ge("v10.0.23") then | |||
package:add("defines", "DPP_USE_EXTERNAL_JSON") | |||
end | |||
|
|||
if package:version():ge("v10.0.29") and is_plat("windows") then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
package:is_plat
packages/d/dpp/xmake.lua
Outdated
@@ -78,6 +79,10 @@ package("dpp") | |||
if package:version():ge("v10.0.23") then | |||
package:add("defines", "DPP_USE_EXTERNAL_JSON") | |||
end | |||
|
|||
if package:version():ge("v10.0.29") and is_plat("windows") then | |||
package:add("cxxflags", "/bigobj /Gy") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should pass flags to tools.xmake
instead of user project.
local cxflags
if package:is_plat("windows") then
cxflags = {"/bigobj", "/Gy"}
end
import("package.tools.xmake").install(package, {}, {cxflags = cxflags})
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change doesn't seem to have any effect on the build, the "Windows 2019 shared x64" one is still failing because of the error above 🤔
No description provided.