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

Do not try to link to librt.so on Android #232

Open
NPellet opened this issue Jun 15, 2020 · 0 comments
Open

Do not try to link to librt.so on Android #232

NPellet opened this issue Jun 15, 2020 · 0 comments

Comments

@NPellet
Copy link

NPellet commented Jun 15, 2020

clFFT seems cross-compilable for android.
The only error I encountered was in the makefile of startTimer:

if( UNIX AND NOT APPLE )
	# This library dependency is brought in by the high precision timer available in linux
	target_link_libraries( StatTimer -lrt )
endif( )

Should be

if( UNIX AND NOT APPLE AND NOT ANDROID )
	# This library dependency is brought in by the high precision timer available in linux
        # In Android, there's no need to link against rt
	target_link_libraries( StatTimer -lrt )
endif( )

PR needed ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant