-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #195 from regro-cf-autotick-bot/19.1.0_h683e73
libcxx v19.1.0
- Loading branch information
Showing
15 changed files
with
291 additions
and
96 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,50 @@ | ||
set -xe | ||
|
||
LINK_FLAGS="-Wl,-rpath,$PREFIX/lib -L$PREFIX/lib -Wl,-v -v" | ||
FLAGS="-Wl,-rpath,$PREFIX/lib -L$PREFIX/lib -Wl,-v -v" | ||
|
||
# target platform is empty here now | ||
if [[ "$target_platform" == osx* ]]; then | ||
llvm-nm $PREFIX/lib/libc++.1.dylib | ||
# to be able to use libc++'s tzdb code | ||
FLAGS="${FLAGS} -D_LIBCPP_DISABLE_AVAILABILITY" | ||
else | ||
LINK_FLAGS="${LINK_FLAGS} -lc++abi" | ||
FLAGS="${FLAGS} -lc++abi" | ||
fi | ||
|
||
FILES=test_sources/*.c | ||
for f in $FILES | ||
do | ||
clang -O2 -g $f $LINK_FLAGS | ||
clang -O2 -g $f $FLAGS | ||
./a.out | ||
done | ||
|
||
FILES=test_sources/*.cpp | ||
for f in $FILES | ||
do | ||
clang++ -stdlib=libc++ -O2 -g $f $LINK_FLAGS | ||
clang++ -stdlib=libc++ -O2 -g $f $FLAGS | ||
./a.out | ||
done | ||
|
||
FILES=test_sources/cpp11/*.cpp | ||
for f in $FILES | ||
do | ||
clang++ -stdlib=libc++ -std=c++11 -O2 -g $f $LINK_FLAGS | ||
clang++ -stdlib=libc++ -std=c++11 -O2 -g $f $FLAGS | ||
./a.out | ||
done | ||
|
||
FILES=test_sources/cpp14/*.cpp | ||
for f in $FILES | ||
do | ||
clang++ -stdlib=libc++ -std=c++14 -O2 -g $f $LINK_FLAGS | ||
clang++ -stdlib=libc++ -std=c++14 -O2 -g $f $FLAGS | ||
./a.out | ||
done | ||
|
||
# tzdb integration (experimental as of v19) | ||
cd test_sources/tzdb | ||
clang++ -stdlib=libc++ -fexperimental-library -std=c++20 -O2 -g tzdb.cpp -o tzdb $FLAGS | ||
./tzdb | ||
|
||
# also test tzdb without any environment activation | ||
unset PREFIX | ||
unset CONDA_PREFIX | ||
./tzdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.