Skip to content
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

set_optimize"aggressive" does not enable any optimization with emscripten #2456

Closed
jonathanpoelen opened this issue Jun 13, 2022 · 2 comments
Labels
Milestone

Comments

@jonathanpoelen
Copy link
Contributor

Xmake Version

v2.6.7+HEAD.93b7245

Operating System Version and Architecture

Linux

Describe Bug

set_optimize"aggressive" tries -Ofast option with emscripten. However, this one does not exist and no optimization is activated.

Expected Behavior

Enable an optimization such as -O3.

Project Configuration

set_optimize("aggressive")

target("test")
    set_kind("binary")
    add_files("test.cpp")

Additional Information and Error Logs

No response

@waruqi
Copy link
Member

waruqi commented Jun 14, 2022

try xmake update -s github:xmake-io/xmake#opti

#2461

@waruqi waruqi added this to the v2.6.8 milestone Jun 14, 2022
@waruqi
Copy link
Member

waruqi commented Jun 14, 2022

I have improved it.

@waruqi waruqi closed this as completed Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants