On Mac OS X 10.8 Mountain Lion, clang-3.1 does not work.
clang-3.1 (MacPorts)
% cat a.c
int main() {
return 0;
}
% clang-mp-3.1 --version # MacPorts port:clang-3.1
clang version 3.1 (branches/release_31)
Process: CasualConc [44932] | |
Path: /Users/*/Library/Developer/Xcode/DerivedData/CasualConc-fvbnrnxrxwnmbvajmshnuclpqrgr/Build/Products/Debug/CasualConc.app/Contents/MacOS/CasualConc | |
Identifier: CasualConcApp | |
Version: 1.8.6 (20111019) | |
Code Type: X86 (Native) | |
Parent Process: zsh [84720] | |
Date/Time: 2011-11-16 23:44:02.004 +0900 | |
OS Version: Mac OS X 10.7.2 (11C74) | |
Report Version: 9 |
diff -ur old/main.m new/main.m | |
--- old/main.m 2011-11-19 15:49:58.000000000 +0900 | |
+++ new/main.m 2011-11-19 15:49:16.000000000 +0900 | |
@@ -11,5 +11,6 @@ | |
int main(int argc, const char *argv[]) | |
{ | |
- return RBApplicationMain("rb_main.rb", argc, argv); | |
+ RBApplicationInit("rb_main.rb", argc, argv, nil); | |
+ return NSApplicationMain(argc, argv); |
Index: ruby19/Portfile | |
=================================================================== | |
--- ruby19/Portfile (revision 91418) | |
+++ ruby19/Portfile (working copy) | |
@@ -72,6 +72,15 @@ | |
configure.args-append "--with-arch=${build_arch}" | |
} | |
+platform darwin 8 { | |
+ configure.args-delete --enable-pthread |
Index: numeric.c | |
=================================================================== | |
--- numeric.c (revision 36354) | |
+++ numeric.c (working copy) | |
@@ -2161,7 +2161,7 @@ | |
VALUE x, y; | |
{ | |
if (FIXNUM_P(y)) { | |
-#ifdef __HP_cc | |
+#if defined(__HP_cc) || defined(__clang__) |
Index: files/patch-configure.diff | |
=================================================================== | |
--- files/patch-configure.diff (revision 0) | |
+++ files/patch-configure.diff (working copy) | |
@@ -0,0 +1,19 @@ | |
+--- configure.orig 2012-06-29 22:18:24.000000000 +0900 | |
++++ configure 2012-07-21 16:32:51.000000000 +0900 | |
+@@ -2722,6 +2722,7 @@ | |
+ | |
+ case $target_cpu in |
--- misc.c.orig 2012-07-31 21:33:45.000000000 +0900 | |
+++ misc.c 2012-07-31 21:34:09.000000000 +0900 | |
@@ -283,7 +283,7 @@ | |
/* not static because it could also be errorneously defined in .S */ | |
/* file, so this error would be caught by the linker. */ | |
/*ARGSUSED*/ | |
- void * GC_clear_stack_inner(void *arg, ptr_t limit) | |
+ void * GC_clear_stack_inner(void *arg, volatile ptr_t limit) | |
{ | |
word dummy[CLEAR_SIZE]; |
On Mac OS X 10.8 Mountain Lion, clang-3.1 does not work.
clang-3.1 (MacPorts)
% cat a.c
int main() {
return 0;
}
% clang-mp-3.1 --version # MacPorts port:clang-3.1
clang version 3.1 (branches/release_31)
diff --git a/src/mongo/SConscript b/src/mongo/SConscript | |
index 06022a1..e1dd08f 100644 | |
--- a/src/mongo/SConscript | |
+++ b/src/mongo/SConscript | |
@@ -175,7 +175,7 @@ env.CppUnitTest('bson_template_evaluator_test', ['scripting/bson_template_evalua | |
if usesm: | |
env.StaticLibrary('scripting', scripting_common_files + ['scripting/engine_spidermonkey.cpp'], | |
- LIBDEPS=['$BUILD_DIR/third_party/js-1.7/js', 'bson_template_evaluator']) | |
+ LIBDEPS=['$BUILD_DIR/third_party/shim_spidermonkey', 'bson_template_evaluator']) |
numbers of ruby.setup target:
% svn co https://svn.macports.org/repository/macports/trunk/dports/ruby
:
Checked out revision 103576.
% cd ruby
% ack -a -G Portfile -h ruby\.setup | expand | sed -e 's/ */ /g' -e 's/{[^}]*}/{}/g' |
cut -f 4 -d \ | cut -f 1 -d \: | sort | uniq -c
33 basic_install.rb
7 copy_install
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Kind</key> | |
<string>Xcode.Xcode3.ProjectTemplateUnitKind</string> | |
<key>Identifier</key> | |
<!-- Specify an unique identifier --> | |
<!-- 固有の識別子を指定します --> | |
<string>jp.nifty.i.kimuraw.dt.unit.AddDebugLog</string> |