Skip to content

Conversation

cjappl
Copy link
Contributor

@cjappl cjappl commented Feb 27, 2023

-lrt is only a linux thing. Removing this gave me the ability to build the benchmarks (which I will post when they are finished)

@@ -13,7 +13,10 @@ ifeq ($(OS),Windows_NT)
PLATFORM_OPTS = -static
TBB_PLATFORM_OPTS = -DUSE_WINTHREAD
else
LD_PLATFORM_OPTS = -lrt
UNAME_S := $(shell uname -s)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use $(OS)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately doesn't work on OSX at least. I based this design off of this pattern:

https://stackoverflow.com/questions/714100/os-detecting-makefile

@cameron314 cameron314 merged commit 4c826ce into cameron314:master Feb 27, 2023
@cjappl cjappl deleted the BuildBenchmarksOSX branch February 27, 2023 18:50
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

Successfully merging this pull request may close these issues.

2 participants